diff --git a/src/components/dashboard/role-home-panel.tsx b/src/components/dashboard/role-home-panel.tsx index d30affd..8d99b9c 100644 --- a/src/components/dashboard/role-home-panel.tsx +++ b/src/components/dashboard/role-home-panel.tsx @@ -35,11 +35,13 @@ const ROLE_ACTIONS: Record = { { to: "/courses", title: "nav.courses", hint: "courses.subtitle", marker: "▣", tone: "violet" }, { to: "/events", title: "nav.events", hint: "events.subtitle", marker: "◷", tone: "sky" }, { to: "/exams", title: "exams.liveMonitor", hint: "exams.liveMonitorDesc", marker: "◎", tone: "amber" }, + { to: "/marks", title: "dashboard.action.marks", hint: "dashboard.action.marksHint", marker: "▤", tone: "mint" }, ], admin: [ { to: "/admin/users", title: "nav.users", hint: "admin.subtitle", marker: "◉", tone: "amber" }, { to: "/courses", title: "nav.courses", hint: "courses.subtitle", marker: "▣", tone: "violet" }, { to: "/events", title: "nav.events", hint: "events.subtitle", marker: "◷", tone: "sky" }, + { to: "/exams", title: "exams.liveMonitor", hint: "exams.liveMonitorDesc", marker: "◎", tone: "rose" }, ], }; @@ -68,7 +70,7 @@ export function RoleHomePanel(props: { role: Role }) { -
+
{(action) => ( void; collapsed?: boolean }) MAIN_ITEMS.filter((item) => !item.adminOnly || hasMinRole(auth.user()?.role, "admin")), ); + const t = useT(); + return (