fix: invitation geeft enkel classId field terug

This commit is contained in:
Gabriellvl 2025-04-13 19:40:20 +02:00
parent 5624f3bbfe
commit 834e991568
4 changed files with 11 additions and 7 deletions

View file

@ -276,10 +276,10 @@
<tbody>
<tr
v-for="i in invitations"
:key="(i.class as ClassDTO).id"
:key="i.classId"
>
<td>
{{ (i.class as ClassDTO).displayName }}
{{ i.classId }} <!-- TODO fetch display name via classId because db only returns classId field -->
</td>
<td>{{ (i.sender as TeacherDTO).firstName + " " + (i.sender as TeacherDTO).lastName }}</td>
<td class="text-right">