feat: don't show widget on plain layout (#9297)
This commit is contained in:
@@ -128,7 +128,7 @@ By default, it renders:
|
|||||||
tocHeader: '<%= I18n.t('public_portal.toc_header') %>'
|
tocHeader: '<%= I18n.t('public_portal.toc_header') %>'
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<% if @portal.channel_web_widget.present? %>
|
<% if @portal.channel_web_widget.present? && !@is_plain_layout_enabled %>
|
||||||
<%= @portal.channel_web_widget.web_widget_script.html_safe %>
|
<%= @portal.channel_web_widget.web_widget_script.html_safe %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user