CSR-1384: formatting

This commit is contained in:
Adam Caouette 2023-10-10 14:32:29 -04:00
parent 348dba428a
commit 5a3d9c3b80
2 changed files with 2 additions and 9 deletions

View file

@ -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) => {

View file

@ -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) => {