diff --git a/frontend/src/components/student_list/StudentList.vue b/frontend/src/components/student_list/StudentList.vue index ab8b88ebd31d67a6650d23cd63c8b693d9791ca2..160b933d16a7c6b71290c82f5025501f55f1865d 100644 --- a/frontend/src/components/student_list/StudentList.vue +++ b/frontend/src/components/student_list/StudentList.vue @@ -290,10 +290,10 @@ export default { } }, async getUser (student) { - this.user = await fetchUser(student.pk) + this.user = await fetchUser(student.userPk) }, setExerciseGroups (groups, student) { - getUser(student).then(() => { + this.getUser(student).then(() => { setGroups(this.user.pk, groups) }) },