Skip to content

Commit

Permalink
fix(Grade by Team): Changing workgroup using select updates status/sc…
Browse files Browse the repository at this point in the history
…ore (#1581)
  • Loading branch information
geoffreykwan authored Jan 23, 2024
1 parent 0ba665d commit 47cbc85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export class StudentGradingToolsComponent implements OnInit {
.subscribe(({ currentWorkgroup }) => {
this.workgroupId = currentWorkgroup.workgroupId;
this.updateModel();
this.router.navigate(['team', this.workgroupId], { relativeTo: this.route });
})
);
}
Expand Down Expand Up @@ -100,6 +101,5 @@ export class StudentGradingToolsComponent implements OnInit {

protected goToTeam(workgroup: Workgroup): void {
this.dataService.setCurrentWorkgroup(workgroup);
this.router.navigate(['team', workgroup.workgroupId], { relativeTo: this.route });
}
}

0 comments on commit 47cbc85

Please sign in to comment.