mirror of
https://github.com/kalkih/mini-graph-card.git
synced 2025-12-20 00:35:56 +01:00
fix: cards would always assume icon_image was set (#957)
This commit is contained in:
@@ -227,7 +227,7 @@ class MiniGraphCard extends LitElement {
|
||||
}
|
||||
|
||||
renderIcon() {
|
||||
if (this.config.icon_image !== 'undefined') {
|
||||
if (this.config.icon_image !== undefined) {
|
||||
return html`
|
||||
<div class="icon">
|
||||
<img src="${this.config.icon_image}" height="25"/>
|
||||
|
||||
Reference in New Issue
Block a user