We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15ec65f commit 739a0d7Copy full SHA for 739a0d7
packages/firestore/src/core/sync_engine_impl.ts
@@ -1096,8 +1096,8 @@ export async function syncEngineEmitNewSnapsAndNotifyLocalStore(
1096
if (viewSnapshot || remoteEvent) {
1097
if (syncEngineImpl.isPrimaryClient) {
1098
// Query state is set to `current` if:
1099
- // - The is a view change and it is up-to-date, or,
1100
- // - We received a global snapshot and the Target is current
+ // - There is a view change and it is up-to-date, or,
+ // - There is a global snapshot, the Target is current, and no changes to be resolved
1101
const isCurrent = viewSnapshot
1102
? !viewSnapshot.fromCache
1103
: remoteEvent?.targetChanges.get(queryView.targetId)?.current;
0 commit comments