Skip to content

Commit

Permalink
Address crash in map when using compact view (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
krasnoukhov authored Dec 10, 2020
1 parent 8cbc8a4 commit 51c9d4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vacuum-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class VacuumCard extends LitElement {

connectedCallback() {
super.connectedCallback();
if (this.map) {
if (!this.compactView && this.map) {
this.updateCameraImage();
this.thumbUpdater = setInterval(
() => this.updateCameraImage(),
Expand Down

0 comments on commit 51c9d4b

Please sign in to comment.