mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Update hui-map-card.ts (#3289)
This commit is contained in:
parent
93934449c0
commit
15c101109e
@ -182,7 +182,7 @@ class HuiMapCard extends LitElement implements LovelaceCard {
|
|||||||
private async loadMap(): Promise<void> {
|
private async loadMap(): Promise<void> {
|
||||||
[this._leafletMap, this.Leaflet] = await setupLeafletMap(
|
[this._leafletMap, this.Leaflet] = await setupLeafletMap(
|
||||||
this._mapEl,
|
this._mapEl,
|
||||||
this._config !== undefined ? this._config.dark_mode !== false : false
|
this._config !== undefined ? this._config.dark_mode === true : false
|
||||||
);
|
);
|
||||||
this._drawEntities();
|
this._drawEntities();
|
||||||
this._leafletMap.invalidateSize();
|
this._leafletMap.invalidateSize();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user