Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 641ab2a

Browse files
committed
fix: link from class directory class to class presence
1 parent 1c1ebd2 commit 641ab2a

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

app/pages/school-classes/[id]/index.vue

+12-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,18 @@ function formatTime(time: string): string {
6363
<UDashboardNavbar
6464
:title="`Class ${schoolClass?.name}`"
6565
:loading="pending"
66-
/>
66+
>
67+
<template #right>
68+
<UButton
69+
label="See presences"
70+
icon="i-heroicons-arrow-right-20-solid"
71+
variant="link"
72+
color="black"
73+
:to="`/school-classes/${schoolClass?.id}/presences`"
74+
trailing
75+
/>
76+
</template>
77+
</UDashboardNavbar>
6778
<UDashboardPanelContent class="p-0 divide-y divide-gray-200 dark:divide-gray-800">
6879
<div class="grid grid-cols-3 gap-4 px-4 py-6">
6980
<div class="text-gray-400 dark:text-gray-500">

0 commit comments

Comments
 (0)