Skip live subscriptions after the card disconnects
This commit is contained in:
@@ -755,6 +755,9 @@ export class NestQuestPartyBoardCard extends LitElement {
|
||||
}
|
||||
|
||||
private _subscribeLive(): void {
|
||||
if (!this.isConnected) {
|
||||
return;
|
||||
}
|
||||
if (this._subscribed) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1401,6 +1401,9 @@ export class NestQuestQuestLogCard extends LitElement {
|
||||
}
|
||||
|
||||
private _subscribeLive(): void {
|
||||
if (!this.isConnected) {
|
||||
return;
|
||||
}
|
||||
if (this._subscribed) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user