We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31d2efa commit dd16deeCopy full SHA for dd16dee
1 file changed
client/src/model/Grading.ts
@@ -25,7 +25,7 @@ export class ExerciseGrading implements Modify<IExerciseGrading, ExerciseModifie
25
get totalPoints(): number {
26
const addPoints = this.additionalPoints ?? 0;
27
28
- if (!this.subExercisePoints) {
+ if (!this.subExercisePoints || this.subExercisePoints.size === 0) {
29
return this.points + addPoints;
30
}
31
0 commit comments