feat: don't show widget on plain layout (#9297)

This commit is contained in:
Shivam Mishra
2024-04-25 15:26:25 +05:30
committed by GitHub
parent 04ae38076f
commit e757237029

View File

@@ -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>