- inizio di modifiche all'editor di Pagine Web
This commit is contained in:
@@ -170,7 +170,7 @@ export default defineComponent({
|
||||
|
||||
function removeFromCard() {
|
||||
$q.dialog({
|
||||
title: order.value.product.productInfo.name,
|
||||
title: order.value.product?.productInfo?.name,
|
||||
message: 'Sicuro di voler rimuovere il prodotto dal carrello?',
|
||||
ok: {
|
||||
label: 'Rimuovi',
|
||||
@@ -222,7 +222,7 @@ export default defineComponent({
|
||||
|
||||
function mounted() {
|
||||
endload.value = false;
|
||||
weight.value = props.order.product?.productInfo.weight;
|
||||
weight.value = props.order.product?.productInfo?.weight;
|
||||
price.value = props.order.price;
|
||||
if (props.order.quantity !== 0) {
|
||||
orderQuantity.value = props.order.quantity;
|
||||
|
||||
Reference in New Issue
Block a user