Merge pull request #1572 from Safelite/feature/Digital/CSR-1837

Feature/digital/csr 1837
This commit is contained in:
AMSNEHA 2023-11-27 17:27:53 +05:30 committed by GitHub
commit 34e49fe86e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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