From 3a9411b2068bae6a35c4ca488e5dd456aa0a948f Mon Sep 17 00:00:00 2001 From: "to. sandra" <76515860+sandratoh@users.noreply.github.com> Date: Thu, 2 May 2024 13:49:36 -0700 Subject: [PATCH] Navigate to planning review detail view from header search (#1650) --- .../src/app/shared/header/search-bar/search-bar.component.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/alcs-frontend/src/app/shared/header/search-bar/search-bar.component.ts b/alcs-frontend/src/app/shared/header/search-bar/search-bar.component.ts index d2c74f9367..513172ba6a 100644 --- a/alcs-frontend/src/app/shared/header/search-bar/search-bar.component.ts +++ b/alcs-frontend/src/app/shared/header/search-bar/search-bar.component.ts @@ -97,9 +97,7 @@ export class SearchBarComponent implements AfterViewInit { break; case 'COV': case 'PLAN': - await this.router.navigateByUrl( - `/board/${result.boardCode}?card=${result.referenceId}&type=${result.type}`, - ); + await this.router.navigate(['planning-review', result.referenceId]); break; default: this.toastService.showErrorToast(`Unable to navigate to ${result.referenceId}`);