diff --git a/src/app/modules/schedule/page/schedule-page.component.ts b/src/app/modules/schedule/page/schedule-page.component.ts index 73860815..57ab8593 100644 --- a/src/app/modules/schedule/page/schedule-page.component.ts +++ b/src/app/modules/schedule/page/schedule-page.component.ts @@ -164,7 +164,7 @@ export class SchedulePageComponent implements OnInit, AfterViewInit { * When the segment changes */ onSegmentChange() { - const url = this.router.createUrlTree([[], 'schedule', this.segmentView.value]).toString(); + const url = this.router.createUrlTree(['schedule', this.segmentView.value]).toString(); this.location.go(url); this.tabChoreographer.changeViewForState(this.segmentView.value); }