This commit is contained in:
seb
2026-10-21 11:54:48 +02:00
parent 3dac143f1a
commit 5d7911e644

View File

@@ -158,15 +158,14 @@ class RecordList extends Component {
sx={{ cursor: onEdit ? 'pointer' : undefined }}
onClick={() => this.handleRowClick(row)}
>
{columns.map((col) => (
<TableCell
key={col.key}
align={col.align}
padding={col.padding}
sx={col.mono || col.key === 'number' || col.key === 'sku' ? { fontFamily: 'monospace' } : undefined}
>
{col.render ? col.render(row) : row[col.key]}
</TableCell>
))}
{hasActions ? (
<TableCell
padding="checkbox"