File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
packages/firestore/src/core Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ export class View {
284
284
docChanges : ViewDocumentChanges ,
285
285
updateLimboDocuments : boolean ,
286
286
targetChange ?: TargetChange ,
287
- isPendingForRequeryResult : boolean = false ,
287
+ isPendingForRequeryResult ? : boolean
288
288
) : ViewChange {
289
289
debugAssert (
290
290
! docChanges . needsRefill ,
@@ -303,15 +303,18 @@ export class View {
303
303
} ) ;
304
304
305
305
this . applyTargetChange ( targetChange ) ;
306
- const limboChanges = ! isPendingForRequeryResult && updateLimboDocuments
307
- ? this . updateLimboDocuments ( )
308
- : [ ] ;
306
+ const limboChanges =
307
+ ! isPendingForRequeryResult && updateLimboDocuments
308
+ ? this . updateLimboDocuments ( )
309
+ : [ ] ;
309
310
310
311
// We are at synced state if there is no limbo docs are waiting to be resolved, view is current
311
312
// with the backend, and the query is not pending for full re-query result due to existence
312
313
// filter mismatch.
313
- const synced =
314
- this . limboDocuments . size === 0 && this . current && ! isPendingForRequeryResult ;
314
+ const synced =
315
+ this . limboDocuments . size === 0 &&
316
+ this . current &&
317
+ ! isPendingForRequeryResult ;
315
318
316
319
const newSyncState = synced ? SyncState . Synced : SyncState . Local ;
317
320
const syncStateChanged = newSyncState !== this . syncState ;
You can’t perform that action at this time.
0 commit comments