The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(nav): restore missing navigation items in collapsed nav rail
Steven Enamakel9a5d8f22c8f9
diff --git a/app/src/components/layout/shell/CollapsedNavRail.tsx b/app/src/components/layout/shell/CollapsedNavRail.tsxindex fe104c9786..71b8991b66 100644--- a/app/src/components/layout/shell/CollapsedNavRail.tsx+++ b/app/src/components/layout/shell/CollapsedNavRail.tsx@@ -50,7 +50,15 @@ export default function CollapsedNavRail() {const handleHome = useHomeNav();const unreadCount = useAppSelector(state => selectUnreadCount(state.notifications.items));- const tabs = useMemo(() => NAV_TABS.map(tab => ({ ...tab, label: t(tab.labelKey) })), [t]);+ const cloudAllowed = useCloudNavGate();+ const tabs = useMemo(+ () =>+ NAV_TABS.filter(tab => !tab.cloudOnly || cloudAllowed).map(tab => ({+ ...tab,+ label: t(tab.labelKey),+ })),+ [cloudAllowed, t]+ );const activeTab = tabs.find(tab => matchActive(tab.path, location.pathname));const handleClick = (tab: NavTab, active: boolean) => {diff --git a/app/src/components/layout/shell/SidebarNav.tsx b/app/src/components/layout/shell/SidebarNav.tsxindex 5e2cdf8f95..834fc523bb 100644--- a/app/src/components/layout/shell/SidebarNav.tsx+++ b/app/src/components/layout/shell/SidebarNav.tsx@@ -54,7 +54,15 @@ export default function SidebarNav() {const navigate = useNavigate();const unreadCount = useAppSelector(state => selectUnreadCount(state.notifications.items));- const tabs = useMemo(() => NAV_TABS.map(tab => ({ ...tab, label: t(tab.labelKey) })), [t]);+ const cloudAllowed = useCloudNavGate();+ const tabs = useMemo(+ () =>+ NAV_TABS.filter(tab => !tab.cloudOnly || cloudAllowed).map(tab => ({+ ...tab,+ label: t(tab.labelKey),+ })),+ [cloudAllowed, t]+ );const activeTab = tabs.find(tab => matchActive(tab.path, location.pathname));const handleClick = (tab: NavTab, active: boolean) => {