Added map to kivi ad preview.
This commit is contained in:
@@ -134,9 +134,7 @@ const getViewRealEstate = async (req, res) => {
|
||||
...BASIC_SEGMENT_PUBLISH,
|
||||
...ADDITIONAL_SEGMENT_PUBLISH
|
||||
];
|
||||
//
|
||||
console.log("ALL BOOLEAN FIELDS:", ALL_BOOLEAN_FIELDS);
|
||||
console.log("All boolean values", allBooleanValues);
|
||||
|
||||
//On view add page we will show only values that are not - null, or "", or undefined
|
||||
const forShowing = value => {
|
||||
return value !== false && value !== null && value !== "";
|
||||
@@ -153,15 +151,15 @@ const getViewRealEstate = async (req, res) => {
|
||||
return forShowing(allSegmentSelectedValues[object.dbField]);
|
||||
});
|
||||
|
||||
//console.log("booleanFields", booleanFields);
|
||||
|
||||
res.render("viewRealEstate", {
|
||||
title: pageTitle,
|
||||
booleanFields,
|
||||
inputFields,
|
||||
allInputValues,
|
||||
segmentFields,
|
||||
allSegmentSelectedValues
|
||||
allSegmentSelectedValues,
|
||||
locationLat,
|
||||
locationLong
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user