add created at column

This commit is contained in:
Flatlogic Bot 2025-03-10 12:37:57 +00:00
parent a159eedbd4
commit 238a54e1d6

View File

@ -73,6 +73,18 @@ export const loadColumns = async (
editable: hasUpdatePermission, editable: hasUpdatePermission,
}, },
{
field: 'createdAt',
headerName: 'Created At',
flex: 1,
minWidth: 120,
filterable: false,
headerClassName: 'datagrid--header',
cellClassName: 'datagrid--cell',
valueFormatter: ({ value }) => new Date(value).toLocaleString(),
editable: false,
},
{ {
field: 'courses', field: 'courses',