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

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

Loading…
Cancel
Save