diff --git a/netbox_attachments/navigation.py b/netbox_attachments/navigation.py index d50e290..85e5752 100644 --- a/netbox_attachments/navigation.py +++ b/netbox_attachments/navigation.py @@ -1,8 +1,10 @@ -from extras.plugins import PluginMenuItem +from extras.plugins import PluginMenu, PluginMenuItem -menu_items = ( - PluginMenuItem( - link='plugins:netbox_attachments:netboxattachment_list', - link_text='Attachments' +menu = PluginMenu( + label='Attachments', + icon_class="mdi mdi-paperclip", + groups=( + ("", (PluginMenuItem(link="plugins:netbox_attachments:netboxattachment_list", + link_text="NetBox Attachments"),),), ), ) diff --git a/netbox_attachments/version.py b/netbox_attachments/version.py index 6849410..a82b376 100644 --- a/netbox_attachments/version.py +++ b/netbox_attachments/version.py @@ -1 +1 @@ -__version__ = "1.1.0" +__version__ = "1.1.1"