forked from AkkomaGang/akkoma-fe
fix js error on mute
This commit is contained in:
parent
7e2d48a26e
commit
f1bdbeabf0
1 changed files with 0 additions and 2 deletions
|
@ -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 a new issue