mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 08:16:36 +00:00
Merge pull request #4224 from iantrich/fix-filter-badge
Fix entity-filter-badge update
This commit is contained in:
commit
13c18a9bb7
@ -109,11 +109,12 @@ class EntityFilterBadge extends HTMLElement implements LovelaceBadge {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Attach element if it has never been attached.
|
while (this.lastChild) {
|
||||||
if (!this.lastChild) {
|
this.removeChild(this.lastChild);
|
||||||
for (const element of this._elements) {
|
}
|
||||||
this.appendChild(element);
|
|
||||||
}
|
for (const element of this._elements) {
|
||||||
|
this.appendChild(element);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.style.display = "inline";
|
this.style.display = "inline";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user