{row.getVisibleCells().map((cell) => {
+ const cellIdWithoutPrefix = cell.id.split('_').slice(1).join('_')
return (
- {flexRender(cell.column.columnDef.cell, cell.getContext())} |
+
+ {flexRender(cell.column.columnDef.cell, cell.getContext())}
+ |
)
})}
diff --git a/src/sections/dataset/dataset-files/files-table/FilesTableHeader.tsx b/src/sections/dataset/dataset-files/files-table/FilesTableHeader.tsx
index 5a0923759..033ed4b9b 100644
--- a/src/sections/dataset/dataset-files/files-table/FilesTableHeader.tsx
+++ b/src/sections/dataset/dataset-files/files-table/FilesTableHeader.tsx
@@ -1,6 +1,7 @@
import { flexRender, HeaderGroup } from '@tanstack/react-table'
import { File } from '../../../../files/domain/models/File'
import styles from './FilesTable.module.scss'
+import { getCellStyle } from './FilesTable'
interface FilesTableHeaderProps {
headers: HeaderGroup