Skip to content

Commit d163db1

Browse files
committed
Remove seemingly unnecessary page reload after new search.
1 parent 2eb1a17 commit d163db1

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

src/app/access-control/group-registry/group-form/members-list/members-list.component.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,6 @@ export class MembersListComponent implements OnInit, OnDestroy {
252252
switchMap((paginationOptions) => {
253253
const query: string = data.query;
254254
if (query != null && this.currentSearchQuery !== query && this.groupBeingEdited) {
255-
this.router.navigate([], {
256-
queryParamsHandling: 'merge'
257-
});
258255
this.currentSearchQuery = query;
259256
this.paginationService.resetPage(this.configSearch.id);
260257
}

src/app/access-control/group-registry/group-form/subgroup-list/subgroups-list.component.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,6 @@ export class SubgroupsListComponent implements OnInit, OnDestroy {
186186
switchMap((paginationOptions) => {
187187
const query: string = data.query;
188188
if (query != null && this.currentSearchQuery !== query && this.groupBeingEdited) {
189-
this.router.navigate([], {
190-
queryParamsHandling: 'merge'
191-
});
192189
this.currentSearchQuery = query;
193190
this.paginationService.resetPage(this.configSearch.id);
194191
}

0 commit comments

Comments
 (0)