feat: bericht in assignment pagina van student als er nog geen groepen bestaan

This commit is contained in:
Joyelle Ndagijimana 2025-05-15 23:02:07 +02:00
parent 5805294f4c
commit f83d5b54c0
4 changed files with 112 additions and 99 deletions

View file

@ -49,15 +49,6 @@
},
];
const descriptionRules = [
(value: string): string | boolean => {
if (!value || value.trim() === "") {
return "Description cannot be empty.";
}
return true;
},
];
// Get all the groups withing the assignment
const groupsQueryResult = useGroupsQuery(props.classId, props.assignmentId, true);
groups.value = groupsQueryResult.data.value?.groups;