]> granicus.if.org Git - ejabberd/commitdiff
No need for a top menu link as there's a top page link
authorBadlop <badlop@process-one.net>
Wed, 2 Dec 2015 16:10:23 +0000 (17:10 +0100)
committerBadlop <badlop@process-one.net>
Wed, 2 Dec 2015 16:10:23 +0000 (17:10 +0100)
src/ejabberd_web_admin.erl

index ba6dfa112ab04d23e4d03b61cd368d1f8f78ce50..9a6aea3afef585d2ab14de75bef292d47ce712ec 100644 (file)
@@ -2889,7 +2889,7 @@ make_server_menu(HostMenu, NodeMenu, Lang, JID) ->
     Fixed2 = [Tuple
              || Tuple <- Fixed,
                 is_allowed_path(BasePath, Tuple, JID)],
-    {Base, <<"ejabberd">>, Fixed2}.
+    {Base, <<"">>, Fixed2}.
 
 get_menu_items_hook({hostnode, Host, Node}, Lang) ->
     ejabberd_hooks:run_fold(webadmin_menu_hostnode, Host,