CSR-2221
CSR-2221 cart no showing because throwing an error when no supportingitems exist
This commit is contained in:
parent
2447f34a84
commit
34b7be4fd2
1 changed files with 2 additions and 0 deletions
|
|
@ -303,6 +303,8 @@ export default {
|
|||
},
|
||||
lineItemsWithoutRecal() {
|
||||
if (!this.lineItems || this.lineItems.length < 1) return;
|
||||
if (!this.lineItems.supportingItems) return this.lineItems;
|
||||
|
||||
const lineItemsCopy = deepClone(this.lineItems);
|
||||
lineItemsCopy.supportingItems = baseMixin.methods.filterOutRecalibration(
|
||||
lineItemsCopy.supportingItems
|
||||
|
|
|
|||
Loading…
Reference in a new issue