Skip to content

Commit a161f58

Browse files
committed
fix details routing
1 parent 3c5b375 commit a161f58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web-app/admin/src/app/admin/admin-teams/dashboard/team-dashboard.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ export class TeamDashboardComponent implements OnInit, OnDestroy {
112112

113113
gotoTeam(team: Team): void {
114114
// TODO: convert to this to using a router once upgrade is complete
115-
window.location.href = `/#/home/teams/${team.id}`;
115+
const baseUrl = window.location.href.split('#')[0];
116+
window.location.href = `${baseUrl}#/home/teams/${team.id}`;
116117
}
117118
}

0 commit comments

Comments
 (0)