Skip to content

Commit

Permalink
Navigate to planning review detail view from header search (#1650)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandratoh authored May 2, 2024
1 parent 3f60bef commit 3a9411b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit 3a9411b

Please sign in to comment.