Skip to content

Commit

Permalink
Hide new monitor section by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Mooli Tayer committed Mar 1, 2017
1 parent b07daba commit 74e2a53
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/presenters/menu/default_menu.rb
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,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.prototype.monitoring
Menu::Section.new(:monitor, N_("Monitor"), 'fa fa-heartbeat fa-2x', [alerts_menu_section])
end
end

def settings_menu_section
Expand Down

0 comments on commit 74e2a53

Please sign in to comment.