Remove custom hack from cms as no longer needed
This commit is contained in:
parent
cfd8e8f5df
commit
7ed74f5915
1 changed files with 1 additions and 4 deletions
|
|
@ -36,10 +36,7 @@ export default {
|
||||||
return this.customer?.phoneNumber;
|
return this.customer?.phoneNumber;
|
||||||
},
|
},
|
||||||
smsOptIn() {
|
smsOptIn() {
|
||||||
const rawCmsText = this.getCmsContent(this.cmsWidgetName, "SubheaderText");
|
return this.getCmsContent(this.cmsWidgetName, "SubheaderText");
|
||||||
const joinerText = this.customer?.isSmsOptIn ? "in to" : "out of";
|
|
||||||
|
|
||||||
return rawCmsText.replace("{custom:smsOptInJoiner}", joinerText);
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue