mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 08:46:35 +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> {
|
||||
[this._leafletMap, this.Leaflet] = await setupLeafletMap(
|
||||
this._mapEl,
|
||||
this._config !== undefined ? this._config.dark_mode !== false : false
|
||||
this._config !== undefined ? this._config.dark_mode === true : false
|
||||
);
|
||||
this._drawEntities();
|
||||
this._leafletMap.invalidateSize();
|
||||
|
Loading…
x
Reference in New Issue
Block a user