mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2025-12-13 01:36:22 +00:00
fix: schedule tabs navigating to the wrong url
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user