Skip to content

Commit f8718f1

Browse files
jo47011mhthies
authored andcommitted
fix: doc, remove is_active flag
1 parent 03c9b93 commit f8718f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

shc/web/interface.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ def __init__(self, host: str, port: int, index_name: Optional[str] = None, root_
102102
self._api_ws_last_will: Dict[aiohttp.web.WebSocketResponse, LastWillT] = {}
103103
# using class `MenuEntrySpec` and `SubMenuEntrySpec` as data structure for the user interface's main menu
104104
# The structure looks as follows:
105-
# [MenuEntrySpec('Label', 'icon', 'page_name', false),
106-
# SubMenuEntrySpec('Submenu label', 'icon', None, true, [
107-
# MenuEntrySpec('Label 2', 'icon', 'page_name2', true),
105+
# [MenuEntrySpec('Label', 'icon', 'page_name'),
106+
# SubMenuEntrySpec('Submenu label', 'icon', None, [
107+
# MenuEntrySpec('Label 2', 'icon', 'page_name2'),
108108
# ...]
109109
self.ui_menu_entries: List[MenuEntrySpec] = []
110110
# List of all static js URLs to be included in the user interface pages

0 commit comments

Comments
 (0)