fixed removing attributes (#22693)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
This commit is contained in:
parent
65d9099e86
commit
35c3b409d5
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ const EditUserForm = ({ user, bruteForced, refresh }: EditUserFormProps) => {
|
|||
const attributes =
|
||||
"key" in (formUser.attributes?.[0] || [])
|
||||
? keyValueToArray(formUser.attributes as KeyValueType[])
|
||||
: user.attributes;
|
||||
: [];
|
||||
try {
|
||||
await adminClient.users.update(
|
||||
{ id: user.id! },
|
||||
|
|
Loading…
Reference in a new issue