mirror of
https://github.com/vale981/Vulcan
synced 2025-03-05 17:41:43 -05:00
Datatable - replace SPACE with - in the datatable-item-* className
This commit is contained in:
parent
40903a6320
commit
77733d2b81
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ const DatatableCell = ({ column, document, currentUser }) => {
|
|||
const Component = column.component || Components[column.componentName] || Components.DatatableDefaultCell;
|
||||
const columnName = column.name || column;
|
||||
return (
|
||||
<td className={`datatable-item-${columnName.toLowerCase()}`}><Component column={column} document={document} currentUser={currentUser} /></td>
|
||||
<td className={`datatable-item-${columnName.toLowerCase().replace(' ', '-')}`}><Component column={column} document={document} currentUser={currentUser} /></td>
|
||||
)
|
||||
}
|
||||
registerComponent('DatatableCell', DatatableCell);
|
||||
|
|
Loading…
Add table
Reference in a new issue