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:
@@ -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},
|
||||
)
|
||||
|
||||
@@ -72,3 +72,4 @@ class UIParameters(ParamsPublic, HyperglassModel):
|
||||
devices: List[UIDevices] = []
|
||||
parsed_data_fields: Tuple[StructuredDataField, ...]
|
||||
content: UIContent
|
||||
developer_mode: StrictBool
|
||||
|
||||
Reference in New Issue
Block a user