Aggiornamento APP RISO:
✅ Inviando i RIS, deve comparire prima il Circuito della Provincia, e poi quello Nazionale ✅ Risolto problema per vecchie registrazioni, la provincia compariva "undefined".
This commit is contained in:
@@ -338,6 +338,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
else if (table === 'departments') ris = state.departments
|
||||
else if (table === 'categorys') ris = state.categories
|
||||
else if (table === 'catprods') ris = Products.catprods
|
||||
else if (table === 'subcatprods') ris = Products.subcatprods
|
||||
else if (table === 'catprods_gas') ris = Products.catprods_gas
|
||||
else if (table === 'authors') ris = Products.authors
|
||||
else if (table === 'catais') ris = state.catAI
|
||||
@@ -1573,6 +1574,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
this.providers = (res.data.providers) ? [...res.data.providers] : []
|
||||
|
||||
Products.catprods = (res.data.catprods) ? [...res.data.catprods] : []
|
||||
Products.subcatprods = (res.data.subcatprods) ? [...res.data.subcatprods] : []
|
||||
Products.catprods_gas = (res.data.catprods_gas) ? [...res.data.catprods_gas] : []
|
||||
Products.authors = (res.data.authors) ? [...res.data.authors] : []
|
||||
|
||||
@@ -1907,6 +1909,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
else if (table === toolsext.TABTYPECASH) myarr = shared_consts.TypeCashStr
|
||||
else if (table === 'usernotifs') myarr = shared_consts.UsersNotif_Adv_List
|
||||
else if (table === 'typenotifs') myarr = shared_consts.TypeNotifs_Arr
|
||||
else if (table === toolsext.TABTIPODIATTIVITA) myarr = shared_consts.TipoDiAttivita
|
||||
else myarr = this.getListByTable(table, value2)
|
||||
|
||||
if (costanti.TABLES_ARRAY.includes(table)) {
|
||||
@@ -1935,9 +1938,9 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
obj[mykey] = costanti.FILTER_NESSUNO
|
||||
obj[collab] = '[Nessuno]'
|
||||
|
||||
if (table === toolsext.TABMYGOODS) {
|
||||
if (table === shared_consts.TABLES_MYGOODS) {
|
||||
obj.idSectorGood = []
|
||||
} else if ((table === toolsext.TABMYSKILLS)) {
|
||||
} else if ((table === shared_consts.TABLES_MYSKILLS)) {
|
||||
obj.idSector = []
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user