diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2026-06-13 13:04:56 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2026-06-13 13:04:56 +0200 |
| commit | 7c58eeacf121cebb42818aa059c99c706e2d25e1 (patch) | |
| tree | 3fa8cdb99d1317c7e32453c5bb954f7ef543c169 /js/mock.js | |
| parent | 4882c5ca3a65075e03595588ef3780a36bc74b15 (diff) | |
| download | bycs-sol-7c58eeacf121cebb42818aa059c99c706e2d25e1.tar.gz bycs-sol-7c58eeacf121cebb42818aa059c99c706e2d25e1.zip | |
add groups JS
Diffstat (limited to 'js/mock.js')
| -rw-r--r-- | js/mock.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,6 @@ import { Graduation, GraduationChange } from "./graduation-common.js"; import { Student } from "./student-common.js"; +import { buildGroups } from "./group.js"; const students = [ new Student(1, 'foo bar', 'test'), @@ -7,6 +8,9 @@ const students = [ new Student(3, 'b b b', '5a') ]; +// Build the groups from our mock students +buildGroups(students); + function fetchStudentsMock() { return new Promise((resolve) => { resolve(students); }); } |
