Merge remote-tracking branch 'origin/feat/232-assignments-pagina-ui-ux' into feat/232-assignments-pagina-ui-ux

This commit is contained in:
Gabriellvl 2025-05-19 16:29:47 +02:00
commit bd2c66b877

View file

@ -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>