Skip to content

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

fix(threadList): re-sync route when reselecting active thread

Steven Enamakel7a815cf1a8c9
diff --git a/app/src/features/conversations/threadList/ThreadList.tsx b/app/src/features/conversations/threadList/ThreadList.tsx
index 7378f4bb4a..cd147a5527 100644
--- a/app/src/features/conversations/threadList/ThreadList.tsx
+++ b/app/src/features/conversations/threadList/ThreadList.tsx
@@ -63,6 +63,10 @@ function ThreadRow() {
{
'data-testid': `thread-row-${id}`,
'data-analytics-id': 'chat-sidebar-thread-row',
+ // Re-selecting the active thread still synchronizes OpenHuman's route.
+ onClick: () => {
+ if (host.selectedThreadId === id) host.onSelectThread(id);
+ },
title: thread.actionDir
? t('chat.sidebar.workingFolder').replace('{folder}', folderBasename(thread.actionDir))
: undefined,