Platzhalter-Seiten Assets, Reports und Docs entfernt

Die drei Seiten hatten keine Funktion (feste Nullen, ein alert(),
drei Beispielsätze). Alte Links und unbekannte Adressen führen jetzt
zu den Tickets statt auf eine leere Seite; Menügruppen ohne Eintrag
werden nicht mehr angezeigt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Opus 5.5 committed 2026-09-27 14:32:17 +00:00
1 parent 2d4e569cc3
commit cbf77004ad
5 files changed
+4 -129

No files matched your search

+2 -7
View File
@@ -11,10 +11,7 @@ import {
IconCalendar,
IconRoute,
IconLayoutDashboard,
IconReport,
IconDeviceDesktop,
IconSettings,
IconBook,
IconLogout,
IconLayoutSidebarLeftCollapse,
IconLayoutSidebarLeftExpand,
@@ -60,15 +57,12 @@ export default function Sidebar() {
label: 'Auswertung',
links: [
{ label: 'Dashboard', href: '/dashboard', icon: <IconLayoutDashboard /> },
{ label: 'Reports', href: '/reports', icon: <IconReport /> },
],
},
{
label: 'System',
links: [
{ label: 'Assets', href: '/assets', icon: <IconDeviceDesktop /> },
...(isAdmin ? [{ label: 'Admin', href: '/admin', icon: <IconSettings /> }] : []),
{ label: 'Docs', href: '/docs', icon: <IconBook /> },
],
},
]
@@ -87,7 +81,8 @@ export default function Sidebar() {
</div>
<nav className="side-nav">
{groups.map((group) => (
{/* Gruppen ohne Eintrag (System fuer Nicht-Admins) nicht anzeigen */}
{groups.filter((group) => group.links.length > 0).map((group) => (
<div className="side-group" key={group.label}>
<div className="side-group-label">{group.label}</div>
{group.links.map((link) => (