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
|
<v-btn
|
||||||
color="primary"
|
color="primary"
|
||||||
@click="generateRandomGroups"
|
@click="generateRandomGroups"
|
||||||
:disabled="groupSize < 1"
|
:disabled="groupSize < 1 || groupSize > allStudents.length"
|
||||||
block
|
block
|
||||||
>
|
>
|
||||||
{{ t("generate-groups") }}
|
{{ t("generate-groups") }}
|
||||||
|
|
|
@ -144,6 +144,7 @@ async function saveChanges(): Promise<void> {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function handleGroupsUpdated(updatedGroups: string[][]): Promise<void> {
|
async function handleGroupsUpdated(updatedGroups: string[][]): Promise<void> {
|
||||||
|
console.log(updatedGroups);
|
||||||
const assignmentDTO: AssignmentDTO = {
|
const assignmentDTO: AssignmentDTO = {
|
||||||
groups: updatedGroups,
|
groups: updatedGroups,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue