1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

fix missing developer_mode property in UI parameters

This commit is contained in:
thatmattlove
2021-11-07 01:18:27 -07:00
parent f6d3dfe1dc
commit c8f678f766
2 changed files with 2 additions and 0 deletions

View File

@@ -125,6 +125,7 @@ def init_ui_params(*, params: "Params", devices: "Devices") -> "UIParameters":
**_ui_params,
version=__version__,
devices=devices.frontend(),
developer_mode=Settings.dev_mode,
parsed_data_fields=PARSED_RESPONSE_FIELDS,
content={"credit": content_credit, "greeting": content_greeting},
)

View File

@@ -72,3 +72,4 @@ class UIParameters(ParamsPublic, HyperglassModel):
devices: List[UIDevices] = []
parsed_data_fields: Tuple[StructuredDataField, ...]
content: UIContent
developer_mode: StrictBool