Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix: fix select all UI bug (#7312)

Max Deichmanne2922aa7875d
diff --git a/web/src/components/table/use-cases/traces.tsx b/web/src/components/table/use-cases/traces.tsx
index 2e8547d639..b0100c3825 100644
--- a/web/src/components/table/use-cases/traces.tsx
+++ b/web/src/components/table/use-cases/traces.tsx
@@ -413,8 +413,10 @@ export default function TracesTable({
const displayCount = totalCountQuery.isLoading ? (
<span className="inline-block font-mono">...</span>
- ) : (
+ ) : selectAll ? (
compactNumberFormatter(totalCountQuery.data?.totalCount)
+ ) : (
+ compactNumberFormatter(Object.keys(selectedRows).length)
);
const tableActions: TableAction[] = [