Add again accidental removed 'deleteUser' function on user profile

This commit is contained in:
Wolfgang Huß 2021-01-21 07:53:25 +01:00
parent 7dbc833e22
commit 3de2e3c003

View File

@ -391,6 +391,14 @@ export default {
this.$apollo.queries.User.refetch()
}
},
async deleteUser(userdata) {
this.$store.commit('modal/SET_OPEN', {
name: 'delete',
data: {
userdata: userdata,
},
})
},
optimisticFollow({ followedByCurrentUser }) {
/*
* Note: followedByCountStartValue is updated to avoid counting from 0 when follow/unfollow