fix being unable to (un)block users in some cases
This commit is contained in:
parent
2854b012c9
commit
e3bfbcf0d2
3 changed files with 7 additions and 4 deletions
|
|
@ -37,7 +37,7 @@ const BlockCard = {
|
|||
if (this.blockExpirationSupported) {
|
||||
this.$refs.timedBlockDialog.optionallyPrompt()
|
||||
} else {
|
||||
this.$store.dispatch('blockUser', this.user.id)
|
||||
this.$store.dispatch('blockUser', { id: this.user.id })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue