diff --git a/app/helpers/application_helper/navbar.rb b/app/helpers/application_helper/navbar.rb index 2ef1b684eb5..f2bad38901d 100644 --- a/app/helpers/application_helper/navbar.rb +++ b/app/helpers/application_helper/navbar.rb @@ -4,6 +4,7 @@ def menu_to_json(placement = :default) structure = [] Menu::Manager.menu(placement) do |menu_section| next unless menu_section.visible? + structure << item_to_hash(menu_section) end structure