We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d306a6f + b4c43a2 commit d6bb96eCopy full SHA for d6bb96e
apps/projection/src/app/data-access/fake-http.service.ts
@@ -36,7 +36,7 @@ export const randStudent = (): Student => ({
36
id: factoryStudent(),
37
firstname: randFirstName(),
38
lastname: randLastName(),
39
- mainTeacher: teachers[randNumber({ max: teachers.length })],
+ mainTeacher: teachers[randNumber({ max: teachers.length - 1 })],
40
school: randWord(),
41
});
42
0 commit comments