aggiornamento product

This commit is contained in:
Surya Paolo
2023-12-10 15:15:27 +01:00
parent 59c03f28f2
commit 1ce6d765ee
10 changed files with 169 additions and 108 deletions

View File

@@ -39,8 +39,8 @@ export default defineComponent({
})
const numOrders = computed(() => {
if (!!products.cart) {
return products.cart.items!.length
if (!!products.cart && products.cart.items) {
return products.cart.items.length
} else {
return 0
}