Skip to content

Commit

Permalink
fix: doc, remove is_active flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jo47011 authored and mhthies committed Nov 30, 2024
1 parent 03c9b93 commit f8718f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shc/web/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f8718f1

Please sign in to comment.