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 Feb 28, 2017
1 parent dd505f0 commit 92eedff
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 @@ -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
Expand Down

0 comments on commit 92eedff

Please sign in to comment.