- Modifiche a ProductInfo... Continua
This commit is contained in:
@@ -537,7 +537,6 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
else if (table === 'producers') ris = state.producers;
|
||||
else if (table === 'storehouses') ris = state.storehouses;
|
||||
else if (table === 'providers') ris = state.providers;
|
||||
else if (table === 'productinfos') ris = Products.productInfos;
|
||||
// else if (table === 'products') ris = Products.products
|
||||
else if (table === 'gasordines') ris = state.gasordines;
|
||||
else if (table === 'scontisticas') ris = state.scontisticas;
|
||||
@@ -2076,9 +2075,6 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
this.gallery = res.data.gallery ? [...res.data.gallery] : [];
|
||||
this.calzoom = res.data.calzoom ? [...res.data.calzoom] : [];
|
||||
Products.products = res.data.products ? [...res.data.products] : [];
|
||||
Products.productInfos = res.data.productInfos
|
||||
? [...res.data.productInfos]
|
||||
: [];
|
||||
this.producers = res.data.producers ? [...res.data.producers] : [];
|
||||
this.storehouses = res.data.storehouses ? [...res.data.storehouses] : [];
|
||||
this.providers = res.data.providers ? [...res.data.providers] : [];
|
||||
@@ -3154,7 +3150,6 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
try {
|
||||
if (table === 'products') {
|
||||
await productStore.loadProductById(id, true);
|
||||
} else if (table === 'productinfos') {
|
||||
}
|
||||
} catch (error) {
|
||||
console.error("Errore durante l'aggiornamento della tabella in memoria:", error);
|
||||
|
||||
Reference in New Issue
Block a user