mirror of
https://github.com/stablyai/orca.git
synced 2026-09-30 00:03:15 +00:00
fix(activity): wire onClearThread action to sidebar agents list
The sidebar notification list was not receiving the onClearThread callback, so the clear button was never enabled. Wire the action from useActivityThreadActionBindings down to the ActivityThreadListPane in the sidebar.
This commit is contained in:
@@ -82,7 +82,8 @@ export default function SidebarAgentsList({
|
||||
markAllThreadsRead,
|
||||
hasUnreadThreads,
|
||||
hasCompletedThreads,
|
||||
handleClearCompleted
|
||||
handleClearCompleted,
|
||||
handleClearThread
|
||||
} = useActivityThreadActionBindings({
|
||||
visibleThreads,
|
||||
markAllReadThreads,
|
||||
@@ -157,6 +158,7 @@ export default function SidebarAgentsList({
|
||||
onJumpToWorkspace={jumpToWorkspace}
|
||||
onMarkThreadRead={markThreadRead}
|
||||
onMarkThreadUnread={markThreadUnread}
|
||||
onClearThread={handleClearThread}
|
||||
canJumpToWorkspace={canJumpToWorkspace}
|
||||
allowMarkUnreadWhenSelected
|
||||
showJumpAction={false}
|
||||
|
||||
Reference in New Issue
Block a user