Merge remote-tracking branch 'origin/feat/232-assignments-pagina-ui-ux' into feat/232-assignments-pagina-ui-ux
This commit is contained in:
commit
bd2c66b877
1 changed files with 10 additions and 2 deletions
|
@ -314,7 +314,9 @@
|
||||||
function saveDragDrop(): void {
|
function saveDragDrop(): void {
|
||||||
emit(
|
emit(
|
||||||
"groupsUpdated",
|
"groupsUpdated",
|
||||||
currentGroups.value.map((g) => g.map((s) => s.username)),
|
currentGroups.value
|
||||||
|
.filter((g) => g.length > 0) // Filter out empty groups
|
||||||
|
.map((g) => g.map((s) => s.username)),
|
||||||
);
|
);
|
||||||
activeDialog.value = null;
|
activeDialog.value = null;
|
||||||
emit("done");
|
emit("done");
|
||||||
|
@ -472,7 +474,13 @@
|
||||||
v-if="currentGroups.length === 0"
|
v-if="currentGroups.length === 0"
|
||||||
class="text-center py-4"
|
class="text-center py-4"
|
||||||
>
|
>
|
||||||
<v-alert type="info">{{ t("no-groups-yet") }}</v-alert>
|
<div>
|
||||||
|
<v-icon
|
||||||
|
icon="mdi-information-outline"
|
||||||
|
size="small"
|
||||||
|
/>
|
||||||
|
{{ t("currently-no-groups") }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<template v-else>
|
<template v-else>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue