Added 'Evento' as adType

This commit is contained in:
paoloar77
2022-02-14 16:03:27 +01:00
parent 7249886e8f
commit 7b22d2c8a4
3 changed files with 23 additions and 5 deletions

View File

@@ -1094,6 +1094,24 @@ export const fieldsTable = {
return ''
},
getColByAdType(adType: number) {
if (adType === 1)
return 'green'
else if (adType === 2)
return 'red'
else if (adType === 3)
return 'blue'
},
getIconByAdType(adType: number) {
if (adType === 1)
return 'fas fa-street-view'
else if (adType === 2)
return 'fas fa-search'
else if (adType === 3)
return 'fas fa-calendar-plus'
},
colTableCalZoom: [
// AddCol({ name: '_id', label_trans: 'reg.id' }),
AddCol({ name: 'title', label_trans: 'event.title' }),