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:
Pranav
2025-02-16 17:42:02 -08:00
committed by GitHub
parent 3b141fca28
commit 4de1cd8c22

View File

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