diff --git a/src/Resources/app/administration/src/module/mollie-payments/extension/sw-order/component/sw-order-line-items-grid/index.js b/src/Resources/app/administration/src/module/mollie-payments/extension/sw-order/component/sw-order-line-items-grid/index.js index b25d5d101..f5c41291d 100644 --- a/src/Resources/app/administration/src/module/mollie-payments/extension/sw-order/component/sw-order-line-items-grid/index.js +++ b/src/Resources/app/administration/src/module/mollie-payments/extension/sw-order/component/sw-order-line-items-grid/index.js @@ -344,6 +344,10 @@ Component.override('sw-order-line-items-grid', { return itemShippingStatus.quantityShipped; }, canceledQuantity(item){ + + if(this.cancelStatus === undefined || this.cancelStatus === null){ + return '~'; + } const itemStatus = this.cancelStatus[item.id]; if(itemStatus === undefined || itemStatus === null){ return '~';