fix: explicit sidebar active state, popup clears mobile bottom bar

This commit is contained in:
2026-03-21 21:06:25 +01:00
parent 710ac253e2
commit 5a7485f654
2 changed files with 3 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ function UsersIcon({ active }: { active: boolean }) {
export function Sidebar({ showUsers }: SidebarProps) {
const pathname = usePathname();
const isServers = !pathname.startsWith('/dashboard/membership');
const isServers = pathname === '/dashboard' || pathname.startsWith('/dashboard/server');
const isUsers = pathname.startsWith('/dashboard/membership');
const navItems = [