diff --git a/ui/src/features/agents/components/AgentsThreadsPage.tsx b/ui/src/features/agents/components/AgentsThreadsPage.tsx index 1d89dd01..04f96cc3 100644 --- a/ui/src/features/agents/components/AgentsThreadsPage.tsx +++ b/ui/src/features/agents/components/AgentsThreadsPage.tsx @@ -61,6 +61,10 @@ function triToBool(value: TriState): boolean | undefined { return undefined } +function displayStatus(status: AgentStatus): string { + return STATUS_OPTIONS.find((option) => option.value === status)?.label ?? status +} + export function AgentsThreadsPage({ filters, onFiltersChange, @@ -279,8 +283,8 @@ function ThreadListItem({ thread }: { thread: AgentThread }) {

{thread.title}

- {thread.repoFullName || "no repo"} · {thread.status} - {isResolved ? " · resolved" : ""} + {thread.repoFullName || "No repo"} · {displayStatus(thread.status)} + {isResolved ? " · Resolved" : ""}