mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
Fleet UI: Transition fixed to edit user modal (#11128)
This commit is contained in:
parent
5176e86e26
commit
8ae9738dc5
1
changes/11087-fix-edit-user-modal-transition
Normal file
1
changes/11087-fix-edit-user-modal-transition
Normal file
@ -0,0 +1 @@
|
|||||||
|
- Fleet UI: Fix animation for opening edit user modal
|
@ -432,8 +432,6 @@ const UsersTable = ({ router }: IUsersTableProps): JSX.Element => {
|
|||||||
const userData = getUser(userEditing.type, userEditing.id);
|
const userData = getUser(userEditing.type, userEditing.id);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Modal title="Edit user" onExit={toggleEditUserModal}>
|
|
||||||
<>
|
|
||||||
<EditUserModal
|
<EditUserModal
|
||||||
defaultEmail={userData?.email}
|
defaultEmail={userData?.email}
|
||||||
defaultName={userData?.name}
|
defaultName={userData?.name}
|
||||||
@ -453,8 +451,6 @@ const UsersTable = ({ router }: IUsersTableProps): JSX.Element => {
|
|||||||
editUserErrors={editUserErrors}
|
editUserErrors={editUserErrors}
|
||||||
isUpdatingUsers={isUpdatingUsers}
|
isUpdatingUsers={isUpdatingUsers}
|
||||||
/>
|
/>
|
||||||
</>
|
|
||||||
</Modal>
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user