fix js error on mute

This commit is contained in:
shpuld 2019-08-10 15:53:46 +03:00
parent 7e2d48a26e
commit f1bdbeabf0
1 changed files with 0 additions and 2 deletions

View File

@ -18,13 +18,11 @@ const ExtraButtons = {
.catch(err => this.$emit('onError', err.error.error))
},
muteConversation () {
this.refreshPopper()
this.$store.dispatch('muteConversation', this.status.id)
.then(() => this.$emit('onSuccess'))
.catch(err => this.$emit('onError', err.error.error))
},
unmuteConversation () {
this.refreshPopper()
this.$store.dispatch('unmuteConversation', this.status.id)
.then(() => this.$emit('onSuccess'))
.catch(err => this.$emit('onError', err.error.error))