From 74f775834196d6b68bca6d024fbb9354ae6b5f98 Mon Sep 17 00:00:00 2001 From: Eric Winchell Date: Wed, 10 Apr 2019 14:06:30 -0400 Subject: [PATCH] Fix missing Edit screen titles Issue: #5438 --- app/helpers/application_helper/page_layouts.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper/page_layouts.rb b/app/helpers/application_helper/page_layouts.rb index 219c087c41d..06e3d93ad27 100644 --- a/app/helpers/application_helper/page_layouts.rb +++ b/app/helpers/application_helper/page_layouts.rb @@ -84,7 +84,7 @@ def layout_uses_tabs? showtype = case @showtype when 'dashboard' - !@lastaction.to_s.ends_with?("_dashboard") + @in_a_form ? true : !@lastaction.to_s.ends_with?("_dashboard") when 'topology' false else