From 9aacd63d1d2c7199faa701788381aed5dafb9e00 Mon Sep 17 00:00:00 2001 From: Usman Baig Date: Tue, 24 Mar 2026 23:53:44 +0100 Subject: [PATCH] fix: collapse toggle back in glass top bar, removed from sidebar --- components/dashboard/DashboardShell.tsx | 11 ++++++++++- components/dashboard/Sidebar.tsx | 15 +-------------- 2 files changed, 11 insertions(+), 15 deletions(-) diff --git a/components/dashboard/DashboardShell.tsx b/components/dashboard/DashboardShell.tsx index 714baca..8432d82 100644 --- a/components/dashboard/DashboardShell.tsx +++ b/components/dashboard/DashboardShell.tsx @@ -38,7 +38,16 @@ function GlassTopBar({ siteId }: { siteId: string }) { }, [realtime]) return ( -
+
+ {/* Collapse toggle */} + + {/* Realtime indicator */} {lastUpdatedRef.current != null && (
diff --git a/components/dashboard/Sidebar.tsx b/components/dashboard/Sidebar.tsx index 99c49dd..fe7e5ac 100644 --- a/components/dashboard/Sidebar.tsx +++ b/components/dashboard/Sidebar.tsx @@ -361,20 +361,7 @@ function SidebarContent({ return (
- {/* Collapse toggle — first item, aligned with all other sidebar icons */} - {!isMobile && ( -
- -
- )} - - {/* App Switcher — scope-level switch */} + {/* App Switcher — top of sidebar (scope-level switch) */}