From ab8373651ee98ee93f17f1f0670a8ea85245422f Mon Sep 17 00:00:00 2001 From: Bilal Catic Date: Mon, 18 Nov 2019 19:05:00 +0100 Subject: [PATCH] update garage price slider options --- app/common/enums.js | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/app/common/enums.js b/app/common/enums.js index 826a750..f52cf4f 100644 --- a/app/common/enums.js +++ b/app/common/enums.js @@ -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: {