Skip to content

Commit

Permalink
CB-4090 fix: keep results for editing (#2664)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wroud authored May 27, 2024
1 parent ea1f346 commit b1e62d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export abstract class ResultSetDataSource<TOptions> extends DatabaseDataSource<T
}

setResults(results: IDatabaseResultSet[]): this {
this.closeResults(this.results);
this.closeResults(this.results.filter(result => !results.some(r => r.id === result.id)));
return super.setResults(results);
}

Expand Down

0 comments on commit b1e62d9

Please sign in to comment.