Fixed a bug in the Licenses columns.jsx
This commit is contained in:
parent
72fb351dcf
commit
b77180579f
@ -9,7 +9,7 @@ export default [
|
|||||||
{field: 'maxUses', headerName: 'Maximale Nutzungen', width: 180, renderCell: (params) =>
|
{field: 'maxUses', headerName: 'Maximale Nutzungen', width: 180, renderCell: (params) =>
|
||||||
params.value === -1 ? "Unbegrenzt" : params.value},
|
params.value === -1 ? "Unbegrenzt" : params.value},
|
||||||
{field: 'expirationDate', headerName: 'Ablaufdatum', width: 200, renderCell: (params) =>
|
{field: 'expirationDate', headerName: 'Ablaufdatum', width: 200, renderCell: (params) =>
|
||||||
new Date(params.value).getTime() !== 0 ? "Nie" : new Date(params.value).toLocaleString()},
|
new Date(params.value).getTime() === 0 ? "Nie" : new Date(params.value).toLocaleString()},
|
||||||
{field: 'actions', headerName: 'Aktionen', width: 80, renderCell: () => <Stack direction="row" gap={1}>
|
{field: 'actions', headerName: 'Aktionen', width: 80, renderCell: () => <Stack direction="row" gap={1}>
|
||||||
<IconButton size="small" color="primary"><Edit /></IconButton>
|
<IconButton size="small" color="primary"><Edit /></IconButton>
|
||||||
<IconButton size="small" color="error"><Delete /></IconButton>
|
<IconButton size="small" color="error"><Delete /></IconButton>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user