commit: f1bdbeabf0294bd7e2ef71f9d61118d3dca442e1
parent: 7e2d48a26e9b6e4d06e7d4efc7ceb579e30227b8
Author: shpuld <shp@cock.li>
Date: Sat, 10 Aug 2019 15:53:46 +0300
fix js error on mute
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/components/extra_buttons/extra_buttons.js b/src/components/extra_buttons/extra_buttons.js
@@ -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))