Fixed a couple of things like (locate me, location edit)

This commit is contained in:
=
2019-10-18 03:29:15 -07:00
parent bfb510252b
commit 9b830bdd01
5 changed files with 52 additions and 22 deletions

View File

@@ -26,7 +26,7 @@ const getQueryReviewData = searchRequest => {
? realEstateTypeObject.title
: "-";
const locationTitle = "Location description - PLACEHOLDER";
const locationTitle = "Promjenite lokaciju";
const sizeTitle = `${sizeMin} - ${sizeMax} m2`;
const gardenSizeTitle = enableGardenSizeEdit
? `${gardenSizeMin} - ${gardenSizeMax} m2`
@@ -39,11 +39,11 @@ const getQueryReviewData = searchRequest => {
title: realEstateTypeTitle,
url: `/vrstanekretnine/${id}?nextStep=filteri`
},
// {
// id: "location",
// title: locationTitle,
// url: `/lokacija/${id}?nextStep=pregled`
// },
{
id: "location",
title: locationTitle,
url: `/lokacija/${id}?nextStep=pregled`
},
{
id: "size",
title: sizeTitle,
@@ -59,7 +59,7 @@ const getQueryReviewData = searchRequest => {
title: priceTitle,
url: `/filteri/${id}?nextStep=pregled`
}
];
].filter((data) => data.title != "-");
};
const getQueryReview = async (req, res) => {