diff --git a/aleksis/apps/alsijil/frontend/components/coursebook/documentation/LessonNotes.vue b/aleksis/apps/alsijil/frontend/components/coursebook/documentation/LessonNotes.vue index d7d427528c70d9f378a26c39f03d0713218d68a6..490877f229506e263a9cc975662c5d1bb6d9261a 100644 --- a/aleksis/apps/alsijil/frontend/components/coursebook/documentation/LessonNotes.vue +++ b/aleksis/apps/alsijil/frontend/components/coursebook/documentation/LessonNotes.vue @@ -118,12 +118,13 @@ import PersonalNoteChip from "../personal_notes/PersonalNoteChip.vue"; </template> </tardiness-chip> - <personal-note-chip - v-if="!documentation.canViewParticipationStatus && total == 1" - v-for="note in documentation?.participations[0]?.notesWithNote" - :key="'text-note-note-' + note.id" - :note="note" - /> + <template v-if="!documentation.canViewParticipationStatus && total == 1"> + <personal-note-chip + v-for="note in documentation?.participations[0]?.notesWithNote" + :key="'text-note-note-' + note.id" + :note="note" + /> + </template> <manage-students-trigger v-if="documentation.canEditParticipationStatus"