mirror of
https://github.com/YunoHost/yunohost-portal.git
synced 2024-09-03 20:06:23 +02:00
edit: fix update user info
This commit is contained in:
parent
3c2510edb9
commit
35e4629c0a
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ const onSubmit = handleSubmit(async (form) => {
|
||||||
message,
|
message,
|
||||||
}
|
}
|
||||||
} else if (data.value) {
|
} else if (data.value) {
|
||||||
Object.assign(user.value, data)
|
Object.assign(user.value, data.value)
|
||||||
resetForm({
|
resetForm({
|
||||||
values: { ...data.value, mail: user.value.mail },
|
values: { ...data.value, mail: user.value.mail },
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue