diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/layout/AppLayout.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/components/layout/AppLayout.js b/src/components/layout/AppLayout.js index 941e60bfd..200777ae6 100644 --- a/src/components/layout/AppLayout.js +++ b/src/components/layout/AppLayout.js | |||
@@ -125,7 +125,15 @@ class AppLayout extends Component { | |||
125 | sticky={item.sticky} | 125 | sticky={item.sticky} |
126 | onHide={() => removeNewsItem({ newsId: item.id })} | 126 | onHide={() => removeNewsItem({ newsId: item.id })} |
127 | > | 127 | > |
128 | <span dangerouslySetInnerHTML={createMarkup(item.message)} /> | 128 | <span |
129 | dangerouslySetInnerHTML={createMarkup(item.message)} | ||
130 | onClick={(event) => { | ||
131 | const { target } = event; | ||
132 | if (target && target.hasAttribute('data-is-news-cta')) { | ||
133 | removeNewsItem({ newsId: item.id }); | ||
134 | } | ||
135 | }} | ||
136 | /> | ||
129 | </InfoBar> | 137 | </InfoBar> |
130 | ))} | 138 | ))} |
131 | {hasActivatedTrial && ( | 139 | {hasActivatedTrial && ( |