Merge pull request #1568 from Safelite/feature/Digital/csr-1828
Update payment.vue
This commit is contained in:
commit
14d8c4f6eb
1 changed files with 2 additions and 2 deletions
|
|
@ -350,8 +350,8 @@ export default {
|
||||||
const taxedVaps = mapTaxedLineItemsToStoreFormat(taxedLineItems, availableVaps);
|
const taxedVaps = mapTaxedLineItemsToStoreFormat(taxedLineItems, availableVaps);
|
||||||
|
|
||||||
// Add items that were not in the store yet but added via query string promo validation
|
// Add items that were not in the store yet but added via query string promo validation
|
||||||
lineItems.promos = lineItems.promos ?? [];
|
//newValidatedPromos contains both validated and revalidated promos.
|
||||||
lineItems.promos.push(...newValidatedPromos);
|
lineItems.promos = Array.from(newValidatedPromos);
|
||||||
const vapsToAddToCart = getVapsThatNeedToBeAddedToSatisfyPromos(
|
const vapsToAddToCart = getVapsThatNeedToBeAddedToSatisfyPromos(
|
||||||
newValidatedPromos,
|
newValidatedPromos,
|
||||||
taxedVaps,
|
taxedVaps,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue