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);
|
||||
|
||||
// Add items that were not in the store yet but added via query string promo validation
|
||||
lineItems.promos = lineItems.promos ?? [];
|
||||
lineItems.promos.push(...newValidatedPromos);
|
||||
//newValidatedPromos contains both validated and revalidated promos.
|
||||
lineItems.promos = Array.from(newValidatedPromos);
|
||||
const vapsToAddToCart = getVapsThatNeedToBeAddedToSatisfyPromos(
|
||||
newValidatedPromos,
|
||||
taxedVaps,
|
||||
|
|
|
|||
Loading…
Reference in a new issue