mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +00:00
Fix race condition in map card (#8697)
This commit is contained in:
parent
7d39b69540
commit
9aaaaae175
@ -284,7 +284,7 @@ class HuiMapCard extends LitElement implements LovelaceCard {
|
||||
this.updateMap(changedProps.get("_config") as MapCardConfig);
|
||||
}
|
||||
|
||||
if (this._config!.hours_to_show && this._configEntities?.length) {
|
||||
if (this._config?.hours_to_show && this._configEntities?.length) {
|
||||
const minute = 60000;
|
||||
if (changedProps.has("_config")) {
|
||||
this._getHistory();
|
||||
|
Loading…
x
Reference in New Issue
Block a user