mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-16 22:06:34 +00:00
Restore proper state badge image behavior (#10369)
This commit is contained in:
parent
95c6adc739
commit
bbbeafcc92
@ -77,7 +77,7 @@ export class HaStateLabelBadge extends LitElement {
|
|||||||
const domain = computeStateDomain(entityState);
|
const domain = computeStateDomain(entityState);
|
||||||
|
|
||||||
const showIcon = this.icon || this._computeShowIcon(domain, entityState);
|
const showIcon = this.icon || this._computeShowIcon(domain, entityState);
|
||||||
const image = showIcon
|
const image = this.icon
|
||||||
? ""
|
? ""
|
||||||
: this.image
|
: this.image
|
||||||
? this.image
|
? this.image
|
||||||
|
Loading…
x
Reference in New Issue
Block a user