diff options
Diffstat (limited to 'js/mock.js')
| -rw-r--r-- | js/mock.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -48,6 +48,7 @@ for (const s of students) { graduationChanges[s.name] = [ GraduationChange.newGreenPointChange(s, "", "Florian Fischer"), GraduationChange.newGreenPointChange(s, "", "Florian Fischer"), + new GraduationChange(new Date(), s.id, s.name, "Änderung", "", "", '{"type": "ObservationStart"}'), ]; break; case "b b b": @@ -55,6 +56,8 @@ for (const s of students) { GraduationChange.newRedPointChange(s, "", "Florian Fischer"), ]; } + // Build the student's graduation + Graduation.from(s, graduationChanges[s.name]); } function fetchGraduationMock(s) { |
