From 0d2e24799ff1094b9e97a44fd0bd3f2856a57ca8 Mon Sep 17 00:00:00 2001 From: Behrokh Satarnejad Date: Tue, 24 Sep 2024 11:28:35 +0200 Subject: [PATCH] show selected tab in the html title --- app/components/admin/design_header_component.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/admin/design_header_component.html.erb b/app/components/admin/design_header_component.html.erb index 033fe8a5c9b5..7f2a4ba6c52b 100644 --- a/app/components/admin/design_header_component.html.erb +++ b/app/components/admin/design_header_component.html.erb @@ -27,7 +27,7 @@ See COPYRIGHT and LICENSE files for more details. ++#%> -<% helpers.html_title t(:label_administration), t(:label_custom_style), @title %> +<% helpers.html_title t(:label_administration), t(:label_custom_style), selected_tab(@tabs)[:label] %> <%= render(Primer::OpenProject::PageHeader.new) do |header| header.with_title { t(:label_custom_style) }