Skip to content

Commit

Permalink
fix(app-admin-users-cognito): pass simple id to Autocomplete component
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel910 committed May 20, 2024
1 parent 638d8b8 commit d2b629d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ export function useUserForm() {
return {
id,
loading,
user,
user: {
...user,
group: user.group ? user.group.id : undefined,
team: user.team ? user.team.id : undefined
},
onSubmit,
isNewUser: newUser,
fullName: `${user.firstName || ""} ${user.lastName || ""}`.trim(),
Expand Down

0 comments on commit d2b629d

Please sign in to comment.