mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 19:26:36 +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);
|
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;
|
const minute = 60000;
|
||||||
if (changedProps.has("_config")) {
|
if (changedProps.has("_config")) {
|
||||||
this._getHistory();
|
this._getHistory();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user