Skip to content

Commit

Permalink
Merge pull request #116 from Apes2getherStrong/WTG-14-cancel-in-route…
Browse files Browse the repository at this point in the history
…-addition-redirection-fix

cancel in route addition redirection fix
  • Loading branch information
niksuu authored Sep 12, 2024
2 parents 0946a27 + 1532da3 commit 82119f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/route/route-edit/route-edit.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class RouteEditComponent implements OnInit {
if (this.editMode) {
this.router.navigate(['../../../yourRoutes/' + this.id], { relativeTo: this.activatedRoute });
} else {
this.router.navigate(['../' + this.id], { relativeTo: this.activatedRoute });
this.router.navigate(['../list'], { relativeTo: this.activatedRoute });
}
}

Expand Down

0 comments on commit 82119f8

Please sign in to comment.