diff --git a/frontend/src/components/common/Resource/ResourceTable.tsx b/frontend/src/components/common/Resource/ResourceTable.tsx index c39e8c7f03..6b6971e97a 100644 --- a/frontend/src/components/common/Resource/ResourceTable.tsx +++ b/frontend/src/components/common/Resource/ResourceTable.tsx @@ -315,7 +315,7 @@ function ResourceTableContent(props: ResourceTablePr mrtColumn.accessorFn = (item: RowItem) => item[column.datum]; } if ('render' in column) { - mrtColumn.Cell = ({ row }: { row: MRT_Row }) => + mrtColumn.Cell = ({ row }: { row: MRT_Row }) => column.render?.(row.original) ?? null; } if (sort && typeof sort === 'function') { @@ -332,7 +332,7 @@ function ResourceTableContent(props: ResourceTablePr header: t('translation|Name'), gridTemplate: 1.5, accessorFn: (item: RowItem) => item.metadata.name, - Cell: ({ row }: { row: MRT_Row }) => + Cell: ({ row }: { row: MRT_Row }) => row.original && , }; case 'age':