diff --git a/src/components/ProjectSidebar.tsx b/src/components/ProjectSidebar.tsx index 7532306c..e134d022 100644 --- a/src/components/ProjectSidebar.tsx +++ b/src/components/ProjectSidebar.tsx @@ -85,6 +85,7 @@ interface ChatItemProps { const ChatItem: React.FC = ({ chat, isSelected, onSelect }) => { const navigate = useNavigate(); + const { hasRunningSessions } = useProjectSessionStatus(chat.id); const handleClick = () => { onSelect(chat); @@ -105,7 +106,11 @@ const ChatItem: React.FC = ({ chat, isSelected, onSelect }) => { />
- + {hasRunningSessions ? ( + + ) : ( + + )}