mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-08 16:48:16 -06:00
I replaced append
with insert
into menu.py to make the admin section appear last in the navigation menu.
This commit is contained in:
parent
c7dcded74f
commit
75d7bc5226
@ -470,7 +470,7 @@ MENUS = [
|
||||
#
|
||||
|
||||
for menu in registry['plugins']['menus']:
|
||||
MENUS.append(menu)
|
||||
MENUS.insert(-1, menu)
|
||||
|
||||
if registry['plugins']['menu_items']:
|
||||
|
||||
@ -484,4 +484,4 @@ if registry['plugins']['menu_items']:
|
||||
icon_class="mdi mdi-puzzle",
|
||||
groups=groups
|
||||
)
|
||||
MENUS.append(plugins_menu)
|
||||
MENUS.insert(-1, plugins_menu)
|
||||
|
Loading…
Reference in New Issue
Block a user