Aggiungi Nuovo: non viene selezionato correttamente il Tipo di Annuncio (Offro/Cerco)

This commit is contained in:
paoloar77
2022-03-01 11:33:06 +01:00
parent f4306b28d6
commit d8b5bda0ce
8 changed files with 15 additions and 10 deletions

View File

@@ -2196,9 +2196,9 @@ export const fieldsTable = {
},
getColByAdType(adType: number) {
if (adType === 1)
if (adType === costanti.AdType.OFFRO)
return 'green'
else if (adType === 2)
else if (adType === costanti.AdType.CERCO)
return 'red'
else if (adType === 3)
return 'blue'