File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -2620,7 +2620,7 @@ function applyFirestoreDataConverter<T>(
2620
2620
return [ convertedValue , functionName ] ;
2621
2621
}
2622
2622
2623
- function contains ( obj : object , key : string ) : obj is { key : unknown } {
2623
+ function contains ( obj : object , key : string ) : obj is { key : unknown } {
2624
2624
return Object . prototype . hasOwnProperty . call ( obj , key ) ;
2625
2625
}
2626
2626
Original file line number Diff line number Diff line change @@ -367,7 +367,11 @@ export class WatchChangeAggregator {
367
367
if ( targetChange . targetIds . length > 0 ) {
368
368
targetChange . targetIds . forEach ( fn ) ;
369
369
} else {
370
- this . targetStates . forEach ( ( _ , targetId ) => fn ( targetId ) ) ;
370
+ this . targetStates . forEach ( ( _ , targetId ) => {
371
+ if ( this . isActiveTarget ( targetId ) ) {
372
+ fn ( targetId ) ;
373
+ }
374
+ } ) ;
371
375
}
372
376
}
373
377
You can’t perform that action at this time.
0 commit comments