1
0
mirror of https://git.pleroma.social/sjw/pleroma-fe.git synced 2024-11-17 05:26:34 +01:00

fix js error on mute

This commit is contained in:
shpuld 2019-08-10 15:53:46 +03:00
parent 7e2d48a26e
commit f1bdbeabf0

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))