feat: kleine verbetering
This commit is contained in:
parent
92e7bccf5f
commit
f0b723cc63
2 changed files with 2 additions and 1 deletions
|
@ -406,7 +406,7 @@ function removeStudent(groupIndex: number, student: StudentItem): void {
|
|||
<v-btn
|
||||
color="primary"
|
||||
@click="generateRandomGroups"
|
||||
:disabled="groupSize < 1"
|
||||
:disabled="groupSize < 1 || groupSize > allStudents.length"
|
||||
block
|
||||
>
|
||||
{{ t("generate-groups") }}
|
||||
|
|
|
@ -144,6 +144,7 @@ async function saveChanges(): Promise<void> {
|
|||
}
|
||||
|
||||
async function handleGroupsUpdated(updatedGroups: string[][]): Promise<void> {
|
||||
console.log(updatedGroups);
|
||||
const assignmentDTO: AssignmentDTO = {
|
||||
groups: updatedGroups,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue