Skip to content

Commit

Permalink
Display user and scenario id instead of None (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
jggoebel authored May 6, 2024
1 parent d492925 commit 1768841
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ export class ProgressDashboardComponent implements OnInit {

this.currentProgress = progressList.map((element) => ({
...element,
username: userMap.get(element.user) ?? 'none',
scenario_name: scenarioMap.get(element.scenario) ?? 'none',
course_name: courseMap.get(element.course) ?? '',
username: userMap.get(element.user) ?? element.user,
scenario_name: scenarioMap.get(element.scenario) ?? element.scenario,
course_name: courseMap.get(element.course) ?? element.course,
}));
this.users = users.filter(
(user) =>
Expand Down

0 comments on commit 1768841

Please sign in to comment.