mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #10984: Fix navigation menu expansion for plugin menus comprising multiple words
This commit is contained in:
@ -19,6 +19,10 @@ class PluginMenu:
|
||||
if icon_class is not None:
|
||||
self.icon_class = icon_class
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
return self.label.replace(' ', '_')
|
||||
|
||||
|
||||
class PluginMenuItem:
|
||||
"""
|
||||
|
Reference in New Issue
Block a user