diff --git a/shc/web/interface.py b/shc/web/interface.py index 22f37df..3f8da2a 100644 --- a/shc/web/interface.py +++ b/shc/web/interface.py @@ -102,9 +102,9 @@ def __init__(self, host: str, port: int, index_name: Optional[str] = None, root_ self._api_ws_last_will: Dict[aiohttp.web.WebSocketResponse, LastWillT] = {} # using class `MenuEntrySpec` and `SubMenuEntrySpec` as data structure for the user interface's main menu # The structure looks as follows: - # [MenuEntrySpec('Label', 'icon', 'page_name', false), - # SubMenuEntrySpec('Submenu label', 'icon', None, true, [ - # MenuEntrySpec('Label 2', 'icon', 'page_name2', true), + # [MenuEntrySpec('Label', 'icon', 'page_name'), + # SubMenuEntrySpec('Submenu label', 'icon', None, [ + # MenuEntrySpec('Label 2', 'icon', 'page_name2'), # ...] self.ui_menu_entries: List[MenuEntrySpec] = [] # List of all static js URLs to be included in the user interface pages