Merge pull request #2905 from Safelite/feature/CASH-1713

CASH-1713 | Insurance pricing error (tax refactor)
This commit is contained in:
scottkiener-at-safelite 2025-10-22 10:30:18 -04:00 committed by GitHub
commit 7b33d8eeb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -269,7 +269,7 @@ export default {
availableVaps,
lineItemsForCart
);
lineItemsForCart.vaps = lineItemsForCart.vaps ?? [];
lineItemsForCart.vaps = addPricesToLineItems(lineItemsForCart.vaps, pricedLineItems) ?? [];
lineItemsForCart.vaps.push(...vapsToAddToCart);
// Tax items on order
lineItemsForCart = await baseMixin.methods.dispatchStoreActionWithLogging(