We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fec16e commit 895cfbaCopy full SHA for 895cfba
packages/web-components/src/components/notice-choice/notice-choice.ts
@@ -677,7 +677,8 @@ class NoticeChoice extends StableSelectorMixin(LitElement) {
677
}
678
679
if (this.doubleOptInCountries.includes(country)) {
680
- preText += ` <span part="double-opt-in-text">${content.mkDoubleOptInText}</span>`;
+ const text = content?.mkDoubleOptInText || '';
681
+ preText += text ? ` <span part="double-opt-in-text">${text}</span>` : '';
682
683
684
// 4. permission/suppression logic
0 commit comments