From 1905cc362fa96adc482a8e684a9e15ac05eb8f1a Mon Sep 17 00:00:00 2001 From: Zita Nemeckova Date: Tue, 14 Mar 2017 14:04:54 +0100 Subject: [PATCH] Add defaukt tab for first selected group after login --- app/controllers/ops_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/ops_controller.rb b/app/controllers/ops_controller.rb index bbd86d9dbc5..f5104e53c50 100644 --- a/app/controllers/ops_controller.rb +++ b/app/controllers/ops_controller.rb @@ -350,7 +350,7 @@ def set_active_tab(nodetype) when :rbac_tree @sb[:active_tab] = "rbac_details" # default to the first tab in group detail - @sb[:active_rbac_group_tab] ||= "rbac_customer_tags" if node.last == 'g' + @sb[:active_rbac_group_tab] ||= "rbac_customer_tags" if node.last == 'g' || node.first == 'g' when :diagnostics_tree case node[0] when "root"