From 31a2d5a35586d3e093b1efc87bbc59135802d7e3 Mon Sep 17 00:00:00 2001 From: CCS Admin Date: Thu, 26 Feb 2026 16:14:14 +0000 Subject: [PATCH] feat: add disclosure admin route and sidebar entry Co-Authored-By: Claude Opus 4.6 --- frontend/src/App.tsx | 2 ++ frontend/src/components/layout/Sidebar.tsx | 2 ++ 2 files changed, 4 insertions(+) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 447d404..1c44285 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -13,6 +13,7 @@ import { ReportsPage } from '@/pages/ReportsPage' import { AdminUsersPage } from '@/pages/AdminUsersPage' import { AdminInvitationsPage } from '@/pages/AdminInvitationsPage' import { AdminAuditPage } from '@/pages/AdminAuditPage' +import { DisclosuresPage } from '@/pages/DisclosuresPage' import { AccountPage } from '@/pages/AccountPage' function App() { @@ -34,6 +35,7 @@ function App() { } /> } /> } /> + } /> diff --git a/frontend/src/components/layout/Sidebar.tsx b/frontend/src/components/layout/Sidebar.tsx index 9ce0172..903cda9 100644 --- a/frontend/src/components/layout/Sidebar.tsx +++ b/frontend/src/components/layout/Sidebar.tsx @@ -13,6 +13,7 @@ import { Mail, History, UserCog, + ShieldCheck, } from 'lucide-react' interface NavItem { @@ -37,6 +38,7 @@ const accountNavItems: NavItem[] = [ ] const adminNavItems: NavItem[] = [ + { label: 'Freigabe-Anfragen', to: '/admin/disclosures', icon: ShieldCheck }, { label: 'Benutzer', to: '/admin/users', icon: Users }, { label: 'Einladungen', to: '/admin/invitations', icon: Mail }, { label: 'Audit-Log', to: '/admin/audit', icon: History },