extend AD_TYPE enum

This commit is contained in:
Bilal Catic
2019-10-30 20:53:50 +01:00
parent 4318fa8a2d
commit 127691f7bb

View File

@@ -59,9 +59,21 @@ const GARAGE_PRICE_SLIDER_OPTIONS = {
}; };
const AD_TYPE = { const AD_TYPE = {
AD_TYPE_SALE: "SALE", AD_TYPE_SALE: {
AD_TYPE_RENT: "RENT", id: 1,
AD_TYPE_REQUEST: "REQUEST" stringId: "SALE",
title: "Prodaja"
},
AD_TYPE_RENT: {
id: 2,
stringId: "RENT",
title: "Najam"
},
AD_TYPE_REQUEST: {
id: 3,
stringId: "REQUEST",
title: "Potražnja"
}
}; };
const AD_CATEGORY = { const AD_CATEGORY = {