From 42791979546567317e2fbb86a69b28d58a2f3f89 Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Mon, 11 May 2026 16:53:17 +0200 Subject: [PATCH] fix(sidebar): move Master Controls to main nav section Co-Authored-By: Claude Opus 4.6 (1M context) --- .../components/sdk/Sidebar/SidebarModuleList.tsx | 15 --------------- .../components/sdk/Sidebar/SidebarModuleNav.tsx | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/admin-compliance/components/sdk/Sidebar/SidebarModuleList.tsx b/admin-compliance/components/sdk/Sidebar/SidebarModuleList.tsx index 165b1974..ed74f90a 100644 --- a/admin-compliance/components/sdk/Sidebar/SidebarModuleList.tsx +++ b/admin-compliance/components/sdk/Sidebar/SidebarModuleList.tsx @@ -38,21 +38,6 @@ export function SidebarModuleList({ collapsed, projectId, pendingCRCount }: Side } label="E-Mail-Templates" isActive={pathname === '/sdk/email-templates'} collapsed={collapsed} projectId={projectId} /> - {/* Master Controls Browser */} - - - - } - label="Master Controls" - isActive={pathname?.startsWith('/sdk/master-controls') ?? false} - collapsed={collapsed} - projectId={projectId} - /> - {/* Maschinenrecht / CE */}
{!collapsed && ( diff --git a/admin-compliance/components/sdk/Sidebar/SidebarModuleNav.tsx b/admin-compliance/components/sdk/Sidebar/SidebarModuleNav.tsx index 962a063a..9aac4460 100644 --- a/admin-compliance/components/sdk/Sidebar/SidebarModuleNav.tsx +++ b/admin-compliance/components/sdk/Sidebar/SidebarModuleNav.tsx @@ -18,6 +18,21 @@ interface SidebarModuleNavProps { export function SidebarModuleNav({ pathname, collapsed, projectId, pendingCRCount }: SidebarModuleNavProps) { return ( <> + {/* Master Controls */} + + + + } + label="Master Controls" + isActive={pathname?.startsWith('/sdk/master-controls') ?? false} + collapsed={collapsed} + projectId={projectId} + /> + {/* Maschinenrecht / CE */}
{!collapsed && (