Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: fix type refactoring regression
Browse files Browse the repository at this point in the history
  • Loading branch information
ishowta committed Jul 2, 2022
1 parent 1442936 commit 16584ec
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/GraphListener.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export class GraphDocumentListener<
if (this.queryListener) {
if (snapshot.exist) {
this.queryListener.updateSnapshot(snapshot, false);
onUpdate(this.queryListener.result as any);
} else {
onUpdate(snapshot);
}
Expand Down Expand Up @@ -279,6 +280,10 @@ export class GraphCollectionListener<
snapshot,
false
);
onUpdateWithResult(
docChange.doc.ref.path,
this.queryListeners[docChange.doc.ref.path].result as any
);
break;
}
}
Expand Down

0 comments on commit 16584ec

Please sign in to comment.