From 88821cd0092bfb65e72420f8d9cde6141e3bdd2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Kihlstr=C3=B6m?= Date: Mon, 12 Apr 2021 20:35:43 +0200 Subject: [PATCH] :bug: Fix missing player icon #467 (#503) --- src/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 0d74c83a..7f238710 100755 --- a/src/main.js +++ b/src/main.js @@ -382,7 +382,9 @@ class MiniMediaPlayer extends LitElement { } computeIcon() { - return this.config.icon ? this.player.icon : ICON.DEFAULT; + return this.config.icon + ? this.config.icon : this.player.icon + || ICON.DEFAULT; } measureCard() {