From 92eedffc9dc396f1a5aa69ca95b0f42c32ca914b Mon Sep 17 00:00:00 2001 From: Mooli Tayer Date: Tue, 28 Feb 2017 15:37:30 +0200 Subject: [PATCH] Hide new monitor section by default --- app/presenters/menu/default_menu.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/presenters/menu/default_menu.rb b/app/presenters/menu/default_menu.rb index 55139acf0169..1bb47246bbac 100644 --- a/app/presenters/menu/default_menu.rb +++ b/app/presenters/menu/default_menu.rb @@ -255,7 +255,9 @@ def alerts_menu_section end def monitor_menu_section - Menu::Section.new(:monitor, N_("Monitor"), 'fa fa-heartbeat fa-2x', [alerts_menu_section]) + if ::Settings.product.monitor + Menu::Section.new(:monitor, N_("Monitor"), 'fa fa-heartbeat fa-2x', [alerts_menu_section]) + end end def settings_menu_section