corretto altre cose (workbox mancante)

This commit is contained in:
Surya Paolo
2025-05-15 21:41:25 +02:00
parent 685bc34bd0
commit daeb865e93
8 changed files with 141 additions and 410500 deletions

View File

@@ -152,7 +152,10 @@ export default defineComponent({
} else if (props.table === 'catalogs') {
if (id) {
myproduct.value = await catalogStore.getCatalogById(id);
myproduct.value = catalogStore.getCatalogById(id);
if (!myproduct.value) {
await catalogStore.fetchCatalogById(id)
}
} else {
myproduct.value = null;
}