Skip to content

Commit f7c7784

Browse files
committed
Limit use of rebuildFiltered in Store.modifyRecords
1 parent 23018da commit f7c7784

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

data/Store.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,10 +624,9 @@ export class Store extends HoistBase {
624624
if (!isEmpty(updateRecs)) {
625625
this._current = this._current.withTransaction({update: updateRecs});
626626
changeLog.update = updateRecs;
627+
this.rebuildFiltered();
627628
}
628629

629-
this.rebuildFiltered();
630-
631630
return changeLog;
632631
}
633632

0 commit comments

Comments
 (0)