Merge pull request #1507 from Safelite/feature/cart-loading-failure

Made available line items return empty glass part, supporting items a…
This commit is contained in:
Leah Schumann 2023-11-09 09:49:20 -05:00 committed by GitHub
commit caac3f4887
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -177,9 +177,9 @@ export default {
return []; return [];
} }
return [ return [
...this.lineItems.glassParts, ...(this.lineItems.glassParts ?? []),
...this.lineItems.supportingItems, ...(this.lineItems.supportingItems ?? []),
...this.availableVaps, ...(this.availableVaps ?? []),
]; ];
}, },
cartItems: { cartItems: {