diff --git a/.env.development b/.env.development index 41122e9b..7f188f99 100755 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ -APP_VERSION="0.2.15" +APP_VERSION="0.2.16" SERVICE_WORKER_FILE="service-worker.js" APP_ID="13" DIRECTORY_LOCAL="newfreeplanet" diff --git a/_ALL_SITES/freeplanet.app/.env.development b/_ALL_SITES/freeplanet.app/.env.development index 42e715e3..2690b374 100755 --- a/_ALL_SITES/freeplanet.app/.env.development +++ b/_ALL_SITES/freeplanet.app/.env.development @@ -1,4 +1,4 @@ -APP_VERSION="0.2.15" +APP_VERSION="0.2.16" SERVICE_WORKER_FILE="service-worker.js" APP_ID="1" DIRECTORY_LOCAL="newfreeplanet" diff --git a/_ALL_SITES/insiemesipuo.app/.env.development b/_ALL_SITES/insiemesipuo.app/.env.development index 41122e9b..7f188f99 100755 --- a/_ALL_SITES/insiemesipuo.app/.env.development +++ b/_ALL_SITES/insiemesipuo.app/.env.development @@ -1,4 +1,4 @@ -APP_VERSION="0.2.15" +APP_VERSION="0.2.16" SERVICE_WORKER_FILE="service-worker.js" APP_ID="13" DIRECTORY_LOCAL="newfreeplanet" diff --git a/_ALL_SITES/popolodelnuovomondo.app/.env.development b/_ALL_SITES/popolodelnuovomondo.app/.env.development index 37c0e290..57f6f765 100755 --- a/_ALL_SITES/popolodelnuovomondo.app/.env.development +++ b/_ALL_SITES/popolodelnuovomondo.app/.env.development @@ -1,4 +1,4 @@ -APP_VERSION="0.2.15" +APP_VERSION="0.2.16" SERVICE_WORKER_FILE="service-worker.js" APP_ID="12" DIRECTORY_LOCAL="newfreeplanet" diff --git a/src/components/CMyRecCard/CMyRecCard.vue b/src/components/CMyRecCard/CMyRecCard.vue index 8f1b1a1d..f63b1691 100755 --- a/src/components/CMyRecCard/CMyRecCard.vue +++ b/src/components/CMyRecCard/CMyRecCard.vue @@ -41,7 +41,7 @@ - + diff --git a/src/store/Modules/costanti.ts b/src/store/Modules/costanti.ts index ae3d5bc4..d86da1ae 100755 --- a/src/store/Modules/costanti.ts +++ b/src/store/Modules/costanti.ts @@ -1,4 +1,9 @@ export const costanti = { + AdType: { + OFFRO: 1, + CERCO: 2, + }, + ShowTypeTask: { SHOW_LAST_N_COMPLETED: 200, SHOW_ONLY_TOCOMPLETE: 201, diff --git a/src/store/Modules/fieldsTable.ts b/src/store/Modules/fieldsTable.ts index da2579a9..20202e69 100755 --- a/src/store/Modules/fieldsTable.ts +++ b/src/store/Modules/fieldsTable.ts @@ -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' diff --git a/src/store/Modules/tools.ts b/src/store/Modules/tools.ts index fe2c8469..60ceab1e 100644 --- a/src/store/Modules/tools.ts +++ b/src/store/Modules/tools.ts @@ -5062,7 +5062,7 @@ export const tools = { idContribType: tools.getSelectionByTable('contribtypes', []), idCity: this.getCitySel(), NumLevel: 0, - adType: tools.getSelectionByTable('adtypes', costanti.FILTER_TUTTI), + adType: tools.getSelectionByTable('adtypes', costanti.AdType.OFFRO), photos: [], note: '', //**ADDFIELD_MYSKILL @@ -5090,7 +5090,7 @@ export const tools = { idContribType: tools.getSelectionByTable('contribtypes', []), idCity: this.getCitySel(), NumLevel: 0, - adType: tools.getSelectionByTable('adtypes', costanti.FILTER_TUTTI), + adType: tools.getSelectionByTable('adtypes', costanti.AdType.OFFRO), idShipping: [tools.getSelectionByTable('shippings', [])], otherfilters: tools.getSelectionByTable('otherfilters', []), photos: [], @@ -5127,7 +5127,7 @@ export const tools = { dateTimeEnd: new Date(), idCity: this.getCitySel(), NumLevel: 0, - adType: tools.getSelectionByTable('adtypes', costanti.FILTER_TUTTI), + adType: tools.getSelectionByTable('adtypes', costanti.AdType.OFFRO), photos: [], note: '', //**ADDFIELD_MYBACHECAS