mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-09-03 20:52:57 -05:00
Fix the about menu option, only display menus if they have items on them,
and add a management menu for future use.
This commit is contained in:
@@ -16,7 +16,8 @@ import config
|
||||
def get_help_menu_items():
|
||||
"""Return a (set) of dicts of help menu items, with name, priority, URL and
|
||||
onclick code."""
|
||||
return [{'name': 'About %s' % (config.APP_NAME),
|
||||
return [{'name': 'mnu_about',
|
||||
'label': 'About %s' % (config.APP_NAME),
|
||||
'priority': 999,
|
||||
'url': "#",
|
||||
'onclick': "about_show()"}]
|
||||
|
||||
Reference in New Issue
Block a user