update garage price slider options

This commit is contained in:
Bilal Catic
2019-11-18 19:05:00 +01:00
parent ade09f6f15
commit ab8373651e

View File

@@ -58,13 +58,23 @@ const GARAGE_SIZE_SLIDER_OPTIONS = {
connect: true
};
const GARAGE_PRICE_SLIDER_OPTIONS = {
const GARAGE_PRICE_SLIDER_OPTIONS_SALE = {
start: [2000, 10000],
range: {
min: [0],
max: [100000]
max: [60000]
},
step: 500,
step: 200,
connect: true
};
const GARAGE_PRICE_SLIDER_OPTIONS_RENT = {
start: [50, 150],
range: {
min: [0],
max: [1000]
},
step: 10,
connect: true
};
@@ -135,8 +145,8 @@ const AD_CATEGORY = {
id: "GARAGE",
title: "Garaža",
hasGardenSize: false,
priceSliderOptionsSale: PRICE_SLIDER_OPTIONS_SALE,
priceSliderOptionsRent: PRICE_SLIDER_OPTIONS_RENT,
priceSliderOptionsSale: GARAGE_PRICE_SLIDER_OPTIONS_SALE,
priceSliderOptionsRent: GARAGE_PRICE_SLIDER_OPTIONS_RENT,
sizeSliderOptions: GARAGE_SIZE_SLIDER_OPTIONS
},
COTTAGE: {