From eae374642b2b4346032a1df45f0c99b3faf7307d Mon Sep 17 00:00:00 2001
From: Hangzhi Yu <hangzhi@protonmail.com>
Date: Thu, 15 Aug 2024 13:01:36 +0200
Subject: [PATCH] Reformat

---
 .../coursebook/documentation/LessonNotes.vue        | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/aleksis/apps/alsijil/frontend/components/coursebook/documentation/LessonNotes.vue b/aleksis/apps/alsijil/frontend/components/coursebook/documentation/LessonNotes.vue
index d7d427528..490877f22 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"
-- 
GitLab