From 01d0579541e938a60990d4ce7f640f8b909de986 Mon Sep 17 00:00:00 2001 From: "andrii.dudar" Date: Fri, 18 Oct 2024 15:41:00 +0200 Subject: [PATCH] [OPIK-242] Show 'string' type icon for custom columns --- .../ExperimentItemsTab/ExperimentItemsTab.tsx | 2 +- .../src/components/pages/DatasetItemsPage/DatasetItemsPage.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/opik-frontend/src/components/pages/CompareExperimentsPage/ExperimentItemsTab/ExperimentItemsTab.tsx b/apps/opik-frontend/src/components/pages/CompareExperimentsPage/ExperimentItemsTab/ExperimentItemsTab.tsx index 6904acf38..9f1aa643e 100644 --- a/apps/opik-frontend/src/components/pages/CompareExperimentsPage/ExperimentItemsTab/ExperimentItemsTab.tsx +++ b/apps/opik-frontend/src/components/pages/CompareExperimentsPage/ExperimentItemsTab/ExperimentItemsTab.tsx @@ -199,7 +199,7 @@ const ExperimentItemsTab: React.FunctionComponent = ({ retVal.push({ id, label, - type: COLUMN_TYPE.dictionary, + type: COLUMN_TYPE.string, accessorFn: (row) => get(row, ["data", label], ""), cell: AutodetectCell as never, } as ColumnData); diff --git a/apps/opik-frontend/src/components/pages/DatasetItemsPage/DatasetItemsPage.tsx b/apps/opik-frontend/src/components/pages/DatasetItemsPage/DatasetItemsPage.tsx index 1649f3a73..96be14b8a 100644 --- a/apps/opik-frontend/src/components/pages/DatasetItemsPage/DatasetItemsPage.tsx +++ b/apps/opik-frontend/src/components/pages/DatasetItemsPage/DatasetItemsPage.tsx @@ -155,7 +155,7 @@ const DatasetItemsPage = () => { retVal.push({ id, label, - type: COLUMN_TYPE.dictionary, + type: COLUMN_TYPE.string, accessorFn: (row) => get(row, ["data", label], ""), cell: AutodetectCell as never, } as ColumnData);