From 4de1cd8c22f6862e7b029d9fc63fc095635fceab Mon Sep 17 00:00:00 2001 From: Pranav Date: Sun, 16 Feb 2025 17:42:02 -0800 Subject: [PATCH] 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. --- app/views/layouts/portal.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/portal.html.erb b/app/views/layouts/portal.html.erb index c4c8f9c75..5d8983621 100644 --- a/app/views/layouts/portal.html.erb +++ b/app/views/layouts/portal.html.erb @@ -64,7 +64,7 @@ By default, it renders: <%= render "public/api/v1/portals/header", portal: @portal %> <% end %> <%= yield %> - <% if !@is_plain_layout_enabled %> + <% if !(@is_plain_layout_enabled || @portal.account.feature_enabled?('disable_branding')) %> <%= render "public/api/v1/portals/footer" %> <% end %>