Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(sidebar): remove duplicate "Dashboard" link

Steven Enamakel32049826b86a
diff --git a/app/src/components/layout/shell/SidebarNav.tsx b/app/src/components/layout/shell/SidebarNav.tsx
index c7f9a48659..2d4cdd24bb 100644
--- a/app/src/components/layout/shell/SidebarNav.tsx
+++ b/app/src/components/layout/shell/SidebarNav.tsx
@@ -5,6 +5,7 @@ import { NAV_TABS, type NavTab } from '../../../config/navConfig';
import { useT } from '../../../lib/i18n/I18nContext';
import { trackEvent } from '../../../services/analytics';
import { setActiveAccount } from '../../../store/accountsSlice';
+import { selectCompanionSessionActive } from '../../../store/companionSlice';
import { useAppDispatch, useAppSelector } from '../../../store/hooks';
import { selectUnreadCount } from '../../../store/notificationSlice';
import { AGENT_ACCOUNT_ID } from '../../../utils/accountsFullscreen';
@@ -53,6 +54,7 @@ export default function SidebarNav() {
const location = useLocation();
const navigate = useNavigate();
const unreadCount = useAppSelector(state => selectUnreadCount(state.notifications.items));
+ const companionActive = useAppSelector(selectCompanionSessionActive);
const tabs = useMemo(() => NAV_TABS.map(tab => ({ ...tab, label: t(tab.labelKey) })), [t]);
const activeTab = tabs.find(tab => matchActive(tab.path, location.pathname));