mutate updated relationship to the store
This commit is contained in:
parent
e9e6daa76e
commit
646d197bf1
2 changed files with 10 additions and 2 deletions
|
@ -138,10 +138,10 @@ export default {
|
|||
this.$store.dispatch('unmuteUser', this.user.id)
|
||||
},
|
||||
subscribeUser () {
|
||||
return this.$store.state.api.backendInteractor.subscribeUser(this.user.id)
|
||||
return this.$store.dispatch('subscribeUser', this.user.id)
|
||||
},
|
||||
unsubscribeUser () {
|
||||
return this.$store.state.api.backendInteractor.unsubscribeUser(this.user.id)
|
||||
return this.$store.dispatch('unsubscribeUser', this.user.id)
|
||||
},
|
||||
setProfileView (v) {
|
||||
if (this.switcher) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue