mirror of
https://github.com/etkecc/synapse-admin.git
synced 2024-11-24 00:25:31 +03:00
Merge branch 'master'
This commit is contained in:
commit
ba485bbb18
1 changed files with 2 additions and 3 deletions
|
@ -52,7 +52,6 @@ import {
|
|||
useListContext,
|
||||
useNotify,
|
||||
ToolbarClasses,
|
||||
Identifier,
|
||||
RaRecord,
|
||||
ImageInput,
|
||||
ImageField,
|
||||
|
@ -161,7 +160,7 @@ export const UserList = (props: ListProps) => (
|
|||
pagination={<UserPagination />}
|
||||
>
|
||||
<Datagrid rowClick={usersRowClick} bulkActionButtons={<UserBulkActionButtons />}>
|
||||
<AvatarField source="avatar_src" sx={{ height: "40px", width: "40px" }} />
|
||||
<AvatarField source="avatar_src" sx={{ height: "40px", width: "40px" }} sortBy="avatar_url" />
|
||||
<TextField source="id" sortBy="name" />
|
||||
<TextField source="displayname" />
|
||||
<BooleanField source="is_guest" />
|
||||
|
@ -212,7 +211,7 @@ const UserEditActions = () => {
|
|||
export const UserCreate = (props: CreateProps) => (
|
||||
<Create
|
||||
{...props}
|
||||
redirect={(resource, id, data) => {
|
||||
redirect={(resource: string | undefined, id: Identifier | undefined) => {
|
||||
return `users/${id}`;
|
||||
}}
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue