Add educator leave management and working time accounts
This commit is contained in:
@@ -12,6 +12,7 @@ import {
|
||||
ClipboardList,
|
||||
Stethoscope,
|
||||
Megaphone,
|
||||
Clock3,
|
||||
} from "lucide-react";
|
||||
|
||||
import { NavItem } from "@/components/ui/nav-item";
|
||||
@@ -19,6 +20,14 @@ import { NavItem } from "@/components/ui/nav-item";
|
||||
import { UserRole } from "@prisma/client";
|
||||
|
||||
const navItems = [
|
||||
{
|
||||
section: "Heute",
|
||||
href: "/dashboard/personal",
|
||||
label: "Personal & Arbeitszeit",
|
||||
icon: Clock3,
|
||||
exact: false,
|
||||
allowedRoles: [UserRole.ADMIN, UserRole.ERZIEHER],
|
||||
},
|
||||
{
|
||||
section: "Heute",
|
||||
href: "/dashboard",
|
||||
@@ -33,6 +42,7 @@ const navItems = [
|
||||
icon: CalendarCheck2,
|
||||
exact: true,
|
||||
badge: "4",
|
||||
allowedRoles: [UserRole.ADMIN, UserRole.KOORDINATOR, UserRole.ELTERN],
|
||||
},
|
||||
{
|
||||
section: "Heute",
|
||||
|
||||
Reference in New Issue
Block a user