Fix maintenace table and colors
This commit is contained in:
1 parent
bc8d43e222
commit
7b5d49c0e2
4 files changed
+118
-261
No files matched your search
@@ -87,7 +87,7 @@ const DataTable = ({ headers, data, config = { emptyView: "No data" } }) => {
|
||||
<TableRow
|
||||
key={key}
|
||||
sx={config?.rowSX ?? {}}
|
||||
onClick={() => config?.onRowClick(row)}
|
||||
onClick={config?.onRowClick ? () => config.onRowClick(row) : null}
|
||||
>
|
||||
{headers.map((header, index) => {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user