Fix minor bugs #9

Merged
bilal.catic merged 4 commits from fix-minor-bugs into master 2019-05-24 15:54:41 +02:00
Showing only changes of commit fc1275566e - Show all commits

View File

@@ -10,7 +10,7 @@ const postSize = async (req, res) => {
const realEstateType = getRealEstateTypeEnum(request.realEstateType);
const nextStep = realEstateType.hasGardenSize ? 'okucnica' : 'cijena';
const nextStep = realEstateType && realEstateType.hasGardenSize ? 'okucnica' : 'cijena';
const nextStepPage = req.query.nextStep || nextStep;
const nextStepUrl = `/${nextStepPage}/${request.uniqueId}`;