From f1bdbeabf0294bd7e2ef71f9d61118d3dca442e1 Mon Sep 17 00:00:00 2001 From: shpuld Date: Sat, 10 Aug 2019 15:53:46 +0300 Subject: [PATCH] fix js error on mute --- src/components/extra_buttons/extra_buttons.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/extra_buttons/extra_buttons.js b/src/components/extra_buttons/extra_buttons.js index 8d123293..2d05ad39 100644 --- 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))