diff --git a/components/dashboard/Sidebar.tsx b/components/dashboard/Sidebar.tsx index cdd057d..70662ba 100644 --- a/components/dashboard/Sidebar.tsx +++ b/components/dashboard/Sidebar.tsx @@ -14,7 +14,7 @@ import { getUserOrganizations, switchContext, type OrganizationMember } from '@/ import { setSessionAction } from '@/app/actions/auth' import { logger } from '@/lib/utils/logger' import { FAVICON_SERVICE_URL } from '@/lib/utils/favicon' -import { Gauge as GaugeIcon } from '@phosphor-icons/react' +import { Gauge as GaugeIcon, Plugs as PlugsIcon, Tag as TagIcon } from '@phosphor-icons/react' import { LayoutDashboardIcon, PathIcon, @@ -27,6 +27,7 @@ import { ChevronUpDownIcon, PlusIcon, XIcon, + BookOpenIcon, AppLauncher, UserMenu, type CipheraApp, @@ -330,9 +331,9 @@ function NavLink({ // ─── Settings Button (opens unified modal instead of navigating) ───── function SettingsButton({ - item, collapsed, onClick, + item, collapsed, onClick, settingsContext = 'site', }: { - item: NavItem; collapsed: boolean; onClick?: () => void + item: NavItem; collapsed: boolean; onClick?: () => void; settingsContext?: 'site' | 'workspace' }) { const { openUnifiedSettings } = useUnifiedSettings() @@ -340,7 +341,7 @@ function SettingsButton({