From c6f6f5a01dde8eb3fcb4d2f7d99871c30989d8f3 Mon Sep 17 00:00:00 2001 From: Marieke Date: Mon, 20 May 2024 14:33:10 +0200 Subject: [PATCH] lint + format --- frontend/src/views/CreateProjectView.vue | 2 +- frontend/src/views/GroupView.vue | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/CreateProjectView.vue b/frontend/src/views/CreateProjectView.vue index 84e0ece5..cabab9a4 100644 --- a/frontend/src/views/CreateProjectView.vue +++ b/frontend/src/views/CreateProjectView.vue @@ -170,7 +170,7 @@ async function submitForm() { }); } else if (selectedGroupProject.value === "random") { const groups = divideStudentsIntoGroups(studentsData.value || [], capacity.value); - const groupsToCreate = groups.map((_) => ({ + const groupsToCreate = groups.map(() => ({ project_id: createdProjectId, score: 0, })); diff --git a/frontend/src/views/GroupView.vue b/frontend/src/views/GroupView.vue index 381b3609..f82abb6c 100644 --- a/frontend/src/views/GroupView.vue +++ b/frontend/src/views/GroupView.vue @@ -24,7 +24,11 @@ color="red" variant="flat" @click=" - () => removeStudent({ groupId: group!.id, uid: member.uid }) + () => + removeStudent({ + groupId: group!.id, + uid: member.uid, + }) " > {{ $t("group.remove") }}