Skip to content

Commit

Permalink
Remove seemingly unnecessary page reload after new search.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdonohue committed Nov 9, 2023
1 parent 2eb1a17 commit d163db1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,6 @@ export class MembersListComponent implements OnInit, OnDestroy {
switchMap((paginationOptions) => {
const query: string = data.query;
if (query != null && this.currentSearchQuery !== query && this.groupBeingEdited) {
this.router.navigate([], {
queryParamsHandling: 'merge'
});
this.currentSearchQuery = query;
this.paginationService.resetPage(this.configSearch.id);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,6 @@ export class SubgroupsListComponent implements OnInit, OnDestroy {
switchMap((paginationOptions) => {
const query: string = data.query;
if (query != null && this.currentSearchQuery !== query && this.groupBeingEdited) {
this.router.navigate([], {
queryParamsHandling: 'merge'
});
this.currentSearchQuery = query;
this.paginationService.resetPage(this.configSearch.id);
}
Expand Down

0 comments on commit d163db1

Please sign in to comment.