diff --git a/ui/src/pages/TrainingReport.vue b/ui/src/pages/TrainingReport.vue
index 00978bb..a575b57 100644
--- a/ui/src/pages/TrainingReport.vue
+++ b/ui/src/pages/TrainingReport.vue
@@ -10,7 +10,7 @@ import {
TableHeader,
TableRow,
} from '@/components/ui/table'
-import { ArrowUpDown, Funnel, Plus, Search, X } from 'lucide-vue-next';
+import { ArrowUpDown, ChevronDown, ChevronUp, Funnel, Plus, Search, X } from 'lucide-vue-next';
import Button from '@/components/ui/button/Button.vue';
import TrainingReportForm from '@/components/trainingReport/trainingReportForm.vue';
import Checkbox from '@/components/ui/checkbox/Checkbox.vue';
@@ -54,6 +54,7 @@ watch(() => route.params.id, async (newID) => {
return;
}
TRLoaded.value = false;
+ expanded.value = null;
viewTrainingReport(Number(route.params.id));
})
@@ -127,6 +128,8 @@ function setPage(pagenum: number) {
pageNum.value = pagenum;
loadTrainingReports();
}
+
+const expanded = ref {{ focusedTrainingReport.created_by_name === null ? "Unknown User" :
focusedTrainingReport.created_by_name
- }}
{{ person.attendee_name }}
+{{ person.attendee_name }}
+{{ person.role.name }}
++ {{ person.remarks == "" ? + '--' + : person.remarks }}
++ Remarks +
++ {{ person.remarks }} +
++ None provided +
+{{ person.role.name }}
-- {{ person.remarks == "" ? - '--' - : person.remarks }}
{{ person.attendee_name }}
+{{ person.attendee_name }}
++ {{ person.remarks == "" ? + '--' + : person.remarks }}
++ Remarks +
++ {{ person.remarks }} +
++ None provided +
+- {{ person.remarks == "" ? - '--' - : person.remarks }}
{{ person.attendee_name }}
+ +{{ person.attendee_name }}
++ {{ person.remarks || '--' }} +
+ + ++ Remarks +
+ ++ {{ person.remarks }} +
+ ++ None provided +
+- {{ person.remarks == "" ? - '--' - : person.remarks }}