CSR-1975 | Wiper promo bug on Quote fix
This commit is contained in:
parent
bbbc66f124
commit
a78030b117
2 changed files with 3 additions and 1 deletions
|
|
@ -43,7 +43,6 @@
|
|||
class="small mt-4"
|
||||
v-model="lineItems"
|
||||
:availableVaps="availableVaps"
|
||||
:availableLineItems="availableLineItems"
|
||||
pageName="quote"
|
||||
:taxPromos="false"
|
||||
modalWidgetName="PromoModalWidget" />
|
||||
|
|
|
|||
|
|
@ -2310,6 +2310,9 @@ export const actions = {
|
|||
) {
|
||||
const order = context.getters.order;
|
||||
lineItemsToUse = lineItemsToUse ?? order.lineItems;
|
||||
addGuidToLineItemsIfNotAlreadyThere(lineItemsToUse.vaps);
|
||||
syncLineItemIds(addableVaps, lineItemsToUse.vaps);
|
||||
// addableVaps still won't have IDs if they weren't already in lineItemsToUse
|
||||
addGuidToLineItemsIfNotAlreadyThere(addableVaps);
|
||||
const requestObject = {
|
||||
promoCode: promoCode,
|
||||
|
|
|
|||
Loading…
Reference in a new issue