From 3e8c4fc952bd3b6a0eee5cfa1bccf58c2c4d40a0 Mon Sep 17 00:00:00 2001 From: MrBartusek Date: Mon, 7 Jun 2021 10:09:20 +0200 Subject: [PATCH] fix: Fix `getCardSize()` (#222) --- 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 964781c4..8a204fd0 100755 --- a/src/vacuum-card.js +++ b/src/vacuum-card.js @@ -100,7 +100,7 @@ class VacuumCard extends LitElement { } getCardSize() { - return 2; + return this.config.compact_view || false ? 3 : 8; } shouldUpdate(changedProps) {