Skip to content

Commit

Permalink
fix: i#4119 project without slug redirect to overview
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfran committed Nov 23, 2023
1 parent 72c6974 commit a62113e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export class ProjectFeatureShellComponent implements OnDestroy, AfterViewInit {
[`project/${project.id}/${project.slug}/new-workflow`],
{ replaceUrl: true }
);
} else if (isOverview) {
} else if (isOverview || this.router.url.endsWith(project.id)) {
void this.router.navigate(
[`project/${project.id}/${project.slug}/overview`],
{ replaceUrl: true }
Expand Down

0 comments on commit a62113e

Please sign in to comment.