From e39b336edbe5bfa14d0f12874cf081d28deaaa7f Mon Sep 17 00:00:00 2001 From: Cascade Bot Date: Sun, 15 Mar 2026 08:50:49 +0000 Subject: [PATCH] fix(sidebar): move GLOBAL section below SETTINGS for superadmin users --- web/src/components/layout/sidebar.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/web/src/components/layout/sidebar.tsx b/web/src/components/layout/sidebar.tsx index 2b89ebcc..240cf2f8 100644 --- a/web/src/components/layout/sidebar.tsx +++ b/web/src/components/layout/sidebar.tsx @@ -178,6 +178,15 @@ export function Sidebar({ user }: SidebarProps) { exact /> + + +
+ Settings +
+ {settingsNav.map((item) => ( + + ))} + {user?.role === 'superadmin' && ( <> @@ -189,15 +198,6 @@ export function Sidebar({ user }: SidebarProps) { ))} )} - - - -
- Settings -
- {settingsNav.map((item) => ( - - ))} {user && (