mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
fix empty variables field on graphql request when updating user naming format
This commit is contained in:
parent
1a7796ac08
commit
772ff51581
@ -79,7 +79,7 @@ const update = async (option) => {
|
||||
try {
|
||||
const variables = {}
|
||||
variables[props.attrName] = option.value
|
||||
await updateUserData({ variables })
|
||||
await updateUserData({ ...variables })
|
||||
toastSuccess(props.successMessage)
|
||||
selectedOption.value = option.value
|
||||
store.commit(props.attrName, option.value)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user