From 51c9d4b906109e5075899f274d567b17762ffbfe Mon Sep 17 00:00:00 2001 From: Dmitry Krasnoukhov Date: Thu, 10 Dec 2020 15:31:40 +0200 Subject: [PATCH] Address crash in `map` when using compact view (#134) --- src/vacuum-card.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vacuum-card.js b/src/vacuum-card.js index e3ac82ad..3b171a95 100755 --- a/src/vacuum-card.js +++ b/src/vacuum-card.js @@ -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(),