feat: bericht in assignment pagina van student als er nog geen groepen bestaan
This commit is contained in:
parent
5805294f4c
commit
f83d5b54c0
4 changed files with 112 additions and 99 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue