Authenticate UI

This commit is contained in:
Deluan
2020-01-20 09:54:29 -05:00
parent 6785d616d0
commit e717d99780
14 changed files with 313 additions and 22 deletions
+2 -3
View File
@@ -23,7 +23,7 @@ const UserList = (props) => {
return (
<List
{...props}
sort={{ field: 'name', order: 'ASC' }}
sort={{ field: 'userName', order: 'ASC' }}
exporter={false}
filters={<UserFilter />}
>
@@ -34,9 +34,8 @@ const UserList = (props) => {
/>
) : (
<Datagrid rowClick="edit">
<TextField source="name" />
<TextField source="userName" />
<BooleanField source="isAdmin" />
<DateField source="lastLoginAt" locales="pt-BR" />
<DateField source="lastAccessAt" locales="pt-BR" />
<DateField source="updatedAt" locales="pt-BR" />
</Datagrid>