From 5a3d9c3b80021b57d3d1347311628a8fbdbe4d0b Mon Sep 17 00:00:00 2001 From: Adam Caouette Date: Tue, 10 Oct 2023 14:32:29 -0400 Subject: [PATCH] CSR-1384: formatting --- src/fmg-components/cart/cart.vue | 5 +---- src/layouts/payment-method/payment-method.vue | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/fmg-components/cart/cart.vue b/src/fmg-components/cart/cart.vue index bba4527ae..d798c3c38 100644 --- a/src/fmg-components/cart/cart.vue +++ b/src/fmg-components/cart/cart.vue @@ -181,10 +181,7 @@ export default { }, displayedNonPackageLineItems() { const displayedNonPackageLineItems = []; - const possibleLineItems = [ - ...this.vaps, - ...this.supportingItems, - ]; + const possibleLineItems = [...this.vaps, ...this.supportingItems]; possibleLineItems?.forEach((item) => { let price = item.sellingPrice + item.kitPrice + item.laborAmount; const isAllowed = this.allowableLineItems?.findIndex((lineItem) => { diff --git a/src/layouts/payment-method/payment-method.vue b/src/layouts/payment-method/payment-method.vue index afe6a5e5c..8e6aa881a 100644 --- a/src/layouts/payment-method/payment-method.vue +++ b/src/layouts/payment-method/payment-method.vue @@ -172,11 +172,7 @@ export default { ); const lineItems = store.getters.lineItems; - const cartItems = [ - ...clonedGlassParts, - ...lineItems.supportingItems, - ...lineItems.vaps, - ]; + const cartItems = [...clonedGlassParts, ...lineItems.supportingItems, ...lineItems.vaps]; // Call the "next" function to complete the transition to this page. next((vm) => {