corretto altre cose (workbox mancante)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user