Clear more info content when switching entity (#16846)

This commit is contained in:
Paul Bottein 2023-06-13 12:20:02 +02:00 committed by GitHub
parent 780de42e4b
commit 49fa7ec4ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,6 +55,9 @@ class MoreInfoContent extends ReactiveElement {
}
if (!moreInfoType) {
if (this.lastChild) {
this.removeChild(this.lastChild);
}
return;
}