mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
update user, write all values, query verification Badge (#8593)
This commit is contained in:
parent
ad4b6e0d79
commit
18ae2a04ab
@ -388,6 +388,11 @@ export const updateUserMutation = () => {
|
||||
avatar {
|
||||
url
|
||||
}
|
||||
badgeVerification {
|
||||
id
|
||||
description
|
||||
icon
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
@ -106,13 +106,9 @@ export default {
|
||||
about,
|
||||
},
|
||||
update: (store, { data: { UpdateUser } }) => {
|
||||
const { name, slug, locationName, about } = UpdateUser
|
||||
this.setCurrentUser({
|
||||
...this.currentUser,
|
||||
name,
|
||||
slug,
|
||||
locationName,
|
||||
about,
|
||||
...UpdateUser,
|
||||
})
|
||||
},
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user