fix: Disable branding on help center if the feature is turned on (#10916)
Disable branding on help center as well if the feature is turned on the account.
This commit is contained in:
@@ -64,7 +64,7 @@ By default, it renders:
|
|||||||
<%= render "public/api/v1/portals/header", portal: @portal %>
|
<%= render "public/api/v1/portals/header", portal: @portal %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
<% if !@is_plain_layout_enabled %>
|
<% if !(@is_plain_layout_enabled || @portal.account.feature_enabled?('disable_branding')) %>
|
||||||
<%= render "public/api/v1/portals/footer" %>
|
<%= render "public/api/v1/portals/footer" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</main>
|
</main>
|
||||||
|
|||||||
Reference in New Issue
Block a user