feat: moznost skrytia oznamovacej listy
This commit is contained in:
1 parent
00d681bec2
commit
680883f047
4 files changed
+75
-12
No files matched your search
@@ -205,6 +205,9 @@ export function renderSingleModuleHtml(m: any, campaign: NewsletterCampaign): st
|
||||
function renderModule(m: any, campaign: NewsletterCampaign): string {
|
||||
switch (m.type) {
|
||||
case 'announcement':
|
||||
if (m.data?.enabled === false) {
|
||||
return '';
|
||||
}
|
||||
return `
|
||||
<!-- 0. TOP OZNAMOVACIA LIŠTA -->
|
||||
<table align="center" role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%" style="margin: 15px 0 20px 0;">
|
||||
|
||||
Reference in new issue
Block a user