Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/panels/lovelace/cards/hui-map-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ class HuiMapCard extends LitElement implements LovelaceCard {
@property()
private _history?: HassEntity[][];
private _date?: Date;
private _loaded = false;

@property()
private _config?: MapCardConfig;
Expand Down Expand Up @@ -283,10 +282,6 @@ class HuiMapCard extends LitElement implements LovelaceCard {
}

private async loadMap(): Promise<void> {
if (this._loaded) {
return;
}
this._loaded = true;
[this._leafletMap, this.Leaflet] = await setupLeafletMap(
this._mapEl,
this._config !== undefined ? this._config.dark_mode === true : false
Expand Down