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 = {
AD_TYPE_SALE: "SALE",
AD_TYPE_RENT: "RENT",
AD_TYPE_REQUEST: "REQUEST"
AD_TYPE_SALE: {
id: 1,
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 = {