Made available line items return empty glass part, supporting items and available vaps arrays to prevent errors

This commit is contained in:
Leah Schumann 2023-11-09 09:41:35 -05:00
parent da31a2c1df
commit 80adf99f63

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: {