Skip to content
Snippets Groups Projects
Commit 307c54fb authored by Jakob Dieterle's avatar Jakob Dieterle
Browse files

now the groups selection works.

parent 28d8a8b6
No related branches found
No related tags found
1 merge request!291Resolve "Add dropdown to participantspage to set students groups"
......@@ -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)
})
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment