Skip to content

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

Fx user id in table

Marc Klingen4c6c82f68f03
diff --git a/src/components/table/use-cases/traces.tsx b/src/components/table/use-cases/traces.tsx
index 8884fbbe35..b7c359da49 100644
--- a/src/components/table/use-cases/traces.tsx
+++ b/src/components/table/use-cases/traces.tsx
@@ -103,7 +103,7 @@ export default function TracesTable({ projectId, userId }: TraceTableProps) {
header: "ID",
cell: ({ row }) => {
const value = row.getValue("id");
- return typeof value === "string" ? (
+ return value && typeof value === "string" ? (
<TableLink
path={`/project/${projectId}/traces/${value}`}
value={value}
@@ -145,7 +145,7 @@ export default function TracesTable({ projectId, userId }: TraceTableProps) {
header: "User ID",
cell: ({ row }) => {
const value = row.getValue("userId");
- return typeof value === "string" ? (
+ return value && typeof value === "string" ? (
<TableLink
path={`/project/${projectId}/users/${value}`}
value={value}