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 connect: true
}; };
const GARAGE_PRICE_SLIDER_OPTIONS = { const GARAGE_PRICE_SLIDER_OPTIONS_SALE = {
start: [2000, 10000], start: [2000, 10000],
range: { range: {
min: [0], 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 connect: true
}; };
@@ -135,8 +145,8 @@ const AD_CATEGORY = {
id: "GARAGE", id: "GARAGE",
title: "Garaža", title: "Garaža",
hasGardenSize: false, hasGardenSize: false,
priceSliderOptionsSale: PRICE_SLIDER_OPTIONS_SALE, priceSliderOptionsSale: GARAGE_PRICE_SLIDER_OPTIONS_SALE,
priceSliderOptionsRent: PRICE_SLIDER_OPTIONS_RENT, priceSliderOptionsRent: GARAGE_PRICE_SLIDER_OPTIONS_RENT,
sizeSliderOptions: GARAGE_SIZE_SLIDER_OPTIONS sizeSliderOptions: GARAGE_SIZE_SLIDER_OPTIONS
}, },
COTTAGE: { COTTAGE: {