Remove seemingly unnecessary page reload after new search.

This commit is contained in:
Tim Donohue
2023-10-13 15:07:04 -05:00
parent 2eb1a17e4e
commit d163db13f2
2 changed files with 0 additions and 6 deletions

View File

@@ -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);
}

View File

@@ -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);
}