Добавил дату создания

jwt
Rinsvent 2 years ago
parent dda51972bb
commit a22ec5a2b2
  1. 4
      components/elements/processes/index.tsx

@ -116,6 +116,7 @@ export default function Processes() {
<TableCell>Progress</TableCell> <TableCell>Progress</TableCell>
<TableCell>Status</TableCell> <TableCell>Status</TableCell>
<TableCell>Action</TableCell> <TableCell>Action</TableCell>
<TableCell>Created</TableCell>
</TableRow> </TableRow>
</TableHead> </TableHead>
<TableBody> <TableBody>
@ -164,6 +165,9 @@ export default function Processes() {
<DeleteForever/> <DeleteForever/>
</IconButton>} </IconButton>}
</TableCell> </TableCell>
<TableCell title={new Date(process.createdAt).toLocaleString()}>
{new Date(process.createdAt).toLocaleDateString()}
</TableCell>
</TableRow> </TableRow>
))} ))}
</TableBody> </TableBody>

Loading…
Cancel
Save