diff --git a/src/dialogs/more-info/more-info-content.ts b/src/dialogs/more-info/more-info-content.ts index ead8379b1e..3783851c91 100644 --- a/src/dialogs/more-info/more-info-content.ts +++ b/src/dialogs/more-info/more-info-content.ts @@ -55,6 +55,9 @@ class MoreInfoContent extends ReactiveElement { } if (!moreInfoType) { + if (this.lastChild) { + this.removeChild(this.lastChild); + } return; }