diff --git a/webui/react/src/components/FilterForm/TableFilter.tsx b/webui/react/src/components/FilterForm/TableFilter.tsx index 62a91c42109..6fd3f42ef74 100644 --- a/webui/react/src/components/FilterForm/TableFilter.tsx +++ b/webui/react/src/components/FilterForm/TableFilter.tsx @@ -9,6 +9,7 @@ import FilterForm from 'components/FilterForm/components/FilterForm'; import { FilterFormStore } from 'components/FilterForm/components/FilterFormStore'; import { FormKind } from 'components/FilterForm/components/type'; import { V1ProjectColumn } from 'services/api-ts-sdk'; +import { formatColumnKey } from 'utils/flatRun'; interface Props { loadableColumns: Loadable; @@ -32,7 +33,7 @@ const TableFilter = ({ onIsOpenFilterChange, }: Props): JSX.Element => { const columns: V1ProjectColumn[] = Loadable.getOrElse([], loadableColumns).filter( - (column) => !bannedFilterColumns?.has(column.column), + (column) => !bannedFilterColumns?.has(formatColumnKey(column)), ); const fieldCount = useObservable(formStore.fieldCount); const formset = useObservable(formStore.formset); diff --git a/webui/react/src/pages/FlatRuns/FlatRuns.tsx b/webui/react/src/pages/FlatRuns/FlatRuns.tsx index 173d5fe380d..6e6d3d5fb90 100644 --- a/webui/react/src/pages/FlatRuns/FlatRuns.tsx +++ b/webui/react/src/pages/FlatRuns/FlatRuns.tsx @@ -241,7 +241,7 @@ const FlatRuns: React.FC = ({ projectId, workspaceId, searchId }) => { const arrayTypeColumns = projectColumns .getOrElse([]) .filter((col) => col.type === V1ColumnType.ARRAY) - .map((col) => col.column); + .map((col) => formatColumnKey(col)); return arrayTypeColumns; }, [projectColumns]);