Merge pull request #756 from Safelite/feature/richardson/SSR-1369

Not in love with this.
This commit is contained in:
brich1212safe 2024-06-18 15:08:50 -04:00 committed by GitHub
commit 7e9a01ad53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -255,12 +255,13 @@ export default {
return !this.showAsPaid ? 0 : this.total;
},
availableLineItems() {
const vapsToUse = this.availableVaps ?? this.lineItems.vaps;
const { supportingItems, glassParts, otherParts, feeItems } = this.lineItems;
const result = [
...(supportingItems ?? []),
...(glassParts ?? []),
...(otherParts ?? []),
...(this.availableVaps ?? []),
...(vapsToUse ?? []),
...(feeItems ?? [])
];
return result;