feat: complete notdienst planning, quick wins and notifications

This commit is contained in:
t.indorf
2026-10-12 15:34:09 +02:00
parent b915857951
commit 00f602a7aa
50 changed files with 2443 additions and 513 deletions
+1 -3
View File
@@ -57,7 +57,6 @@ const navItems = [
label: "Notdienst (Eltern)",
icon: CalendarCheck2,
exact: true,
badge: "4",
allowedRoles: [UserRole.ADMIN, UserRole.KOORDINATOR, UserRole.ELTERN],
},
{
@@ -157,7 +156,7 @@ export function SidebarNav({ role }: { role: UserRole }) {
<div className="flex flex-col gap-1">
{visibleItems
.filter((item) => item.section === section)
.map(({ href, label, icon, exact, badge }) => {
.map(({ href, label, icon, exact }) => {
const isActive = exact
? pathname === href
: pathname.startsWith(href);
@@ -168,7 +167,6 @@ export function SidebarNav({ role }: { role: UserRole }) {
label={label}
icon={icon}
active={isActive}
badge={badge}
/>
);
})}