Update promo-modal-question.vue

This commit is contained in:
Sneha 2023-11-27 17:19:37 +05:30
parent e2d39f6b82
commit bfc26af1b1

View file

@ -228,13 +228,12 @@ export default {
this.promoCode.toUpperCase() this.promoCode.toUpperCase()
); );
return (this.displayInShopPromoAlert = true); return (this.displayInShopPromoAlert = true);
} } else {
else{
this.errorMessage = this.PromoText?.replaceAll( this.errorMessage = this.PromoText?.replaceAll(
"{custom:PROMOCODE}", "{custom:PROMOCODE}",
this.promoCode.toUpperCase() this.promoCode.toUpperCase()
); );
return (this.displayInvalidPromoAlert = true); return (this.displayInvalidPromoAlert = true);
} }
default: default:
this.errorMessage = this.PromoText?.replaceAll( this.errorMessage = this.PromoText?.replaceAll(