CSR-2182: fix recursive error

This commit is contained in:
Adam Caouette 2024-09-05 20:42:03 -04:00
parent 737ef41ad1
commit 52c9bfecf7

View file

@ -302,9 +302,9 @@ export default {
},
lineItemsWithoutRecal() {
if (!this.lineItems || this.lineItems.length < 1) return;
const lineItemsCopy = this.lineItems;
const lineItemsCopy = deepClone(this.lineItems);
lineItemsCopy.supportingItems = baseMixin.methods.filterOutRecalibration(
this.lineItems.supportingItems
lineItemsCopy.supportingItems
);
return lineItemsCopy;
},