Update promo-modal-question.vue

This commit is contained in:
Sneha 2023-11-14 16:35:56 +05:30
parent 46e95c1c14
commit 67b905dc4c

View file

@ -215,7 +215,7 @@ export default {
this.lineItems.vaps?.push(...getVaps);
this.closeModal();
} else {
if (promoCodeData.errorCode == promoErrorCodes.NO_SUITABLE_ITEM_FOR_PROMO) {
if (promoCodeData.errorCode == promoErrorCodes.PROMO_STACKING_NOT_ALLOWED) {
this.displayInvalidOnOrderPromoAlert = true;
this.focusOnPromoInput();
this.resetModalButtonStyle();