mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
missing disconnectedCallback in energy-period-selector (#18790)
This commit is contained in:
parent
05a22e3271
commit
400b8034e1
@ -103,6 +103,7 @@ export class HuiEnergyPeriodSelector extends SubscribeMixin(LitElement) {
|
||||
}
|
||||
|
||||
public disconnectedCallback(): void {
|
||||
super.disconnectedCallback();
|
||||
if (this._resizeObserver) {
|
||||
this._resizeObserver.disconnect();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user