Skip to content

Commit

Permalink
fix: resources search nav
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismclarke committed Feb 22, 2024
1 parent f7a9304 commit a1b0fa0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,6 @@ export class ResourceSearchComponent implements OnInit, OnDestroy {
/** Update route param to match search text. Passing undefined will remove the param */
private setRouteSearchParam(searchText?: string) {
const queryParams = { searchText };
this.router.navigate([], { relativeTo: this.route, queryParams });
this.router.navigate([], { relativeTo: this.route, queryParams, replaceUrl: true });
}
}

0 comments on commit a1b0fa0

Please sign in to comment.