diff --git a/app/src/features/crews/Sidebar.tsx b/app/src/features/crews/Sidebar.tsx index ec59085c..c3d0c8f8 100644 --- a/app/src/features/crews/Sidebar.tsx +++ b/app/src/features/crews/Sidebar.tsx @@ -6,7 +6,7 @@ import { type Messages, useT } from "../../i18n"; import { when } from "../../lib/format"; import { plainText } from "../../lib/plainText"; import type { Activity, Bot, Crew } from "../../lib/protocol.gen"; -import { activityOf, botsOf, crewList } from "../../store/app"; +import { activityOf, crewList } from "../../store/app"; import { useApp } from "../../store/context"; import { isUnread, unreadIn } from "../../store/seen"; import { CountBadge } from "../../ui/Badge"; @@ -22,6 +22,8 @@ import { CrewDialog } from "./CrewDialog"; import { setAllCollapsed, setCollapsed, useCollapsed, useCollapsedSet } from "./collapsed"; import { useCrewActions } from "./crewActions"; import { row } from "./SidebarPages"; +import { StateFilters } from "./StateFilters"; +import { filteredBots, useStateFilter } from "./stateFilter"; /** Crews as sections and their bots as conversations (spec 15.1). */ export function Sidebar() { @@ -63,6 +65,7 @@ export function Sidebar() { onClick={() => setCreating(true)} /> + {crews.length > 0 && }