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:
parent
7e2d48a26e
commit
f1bdbeabf0
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user