fix(audit-logs): sort by createdAt

This commit is contained in:
chenos 2022-06-15 08:30:55 +08:00
parent 5e116af4a9
commit 308fe7a123

View File

@ -476,6 +476,7 @@ AuditLogs.Decorator = observer((props: any) => {
appends: ['collection', 'user'], appends: ['collection', 'user'],
...props.params, ...props.params,
filter, filter,
sort: '-createdAt',
}, },
rowKey: 'id', rowKey: 'id',
showIndex: true, showIndex: true,