mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Fix double unsubscribe in todo list card (#20928)
This commit is contained in:
parent
6f1fa139e7
commit
7416ae7dfd
@ -104,6 +104,7 @@ export class HuiTodoListCard extends LitElement implements LovelaceCard {
|
|||||||
disconnectedCallback(): void {
|
disconnectedCallback(): void {
|
||||||
super.disconnectedCallback();
|
super.disconnectedCallback();
|
||||||
this._unsubItems?.then((unsub) => unsub());
|
this._unsubItems?.then((unsub) => unsub());
|
||||||
|
this._unsubItems = undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
public getCardSize(): number {
|
public getCardSize(): number {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user