mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-04 04:22:50 +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
|
* When the segment changes
|
||||||
*/
|
*/
|
||||||
onSegmentChange() {
|
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.location.go(url);
|
||||||
this.tabChoreographer.changeViewForState(this.segmentView.value);
|
this.tabChoreographer.changeViewForState(this.segmentView.value);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user