From 34b7be4fd27b85e6caa6d9229c6b0f8b81e6873d Mon Sep 17 00:00:00 2001 From: CarlNation Date: Tue, 10 Sep 2024 15:41:59 -0400 Subject: [PATCH] CSR-2221 CSR-2221 cart no showing because throwing an error when no supportingitems exist --- src/fmg-components/cart/cart.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fmg-components/cart/cart.vue b/src/fmg-components/cart/cart.vue index 9e5a43bd6..8008a7633 100644 --- a/src/fmg-components/cart/cart.vue +++ b/src/fmg-components/cart/cart.vue @@ -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