mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 03:36:44 +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 {
|
||||
super.disconnectedCallback();
|
||||
this._unsubItems?.then((unsub) => unsub());
|
||||
this._unsubItems = undefined;
|
||||
}
|
||||
|
||||
public getCardSize(): number {
|
||||
|
Loading…
x
Reference in New Issue
Block a user