mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 08:16:36 +00:00
Clear more info content when switching entity (#16846)
This commit is contained in:
parent
780de42e4b
commit
49fa7ec4ed
@ -55,6 +55,9 @@ class MoreInfoContent extends ReactiveElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!moreInfoType) {
|
if (!moreInfoType) {
|
||||||
|
if (this.lastChild) {
|
||||||
|
this.removeChild(this.lastChild);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user