Skip to content

Commit

Permalink
fix 499: counting exercises when sorting them or when changing the la…
Browse files Browse the repository at this point in the history
…nguage
  • Loading branch information
Stephan Krusche committed Jun 10, 2019
1 parent 3c30b8e commit d54b92e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export class CourseExercisesComponent implements OnInit, OnDestroy {
}

public groupExercises(selectedOrder: number): void {
// set all values to 0
this.exerciseCountMap = new Map<string, number>();
this.weeklyExercisesGrouped = {};
this.weeklyIndexKeys = [];
const groupedExercises = {};
Expand Down

0 comments on commit d54b92e

Please sign in to comment.