fix being unable to (un)block users in some cases

This commit is contained in:
Henry Jameson 2025-08-29 13:54:03 +03:00
commit e3bfbcf0d2
3 changed files with 7 additions and 4 deletions

View file

@ -38,6 +38,9 @@ const AccountActions = {
hideConfirmRemoveUserFromFollowers () {
this.showingConfirmRemoveFollower = false
},
hideConfirmBlock () {
this.showingConfirmBlock = false
},
showRepeats () {
this.$store.dispatch('showReblogs', this.user.id)
},
@ -56,7 +59,7 @@ const AccountActions = {
}
},
doBlockUser () {
this.$store.dispatch('blockUser', this.user.id)
this.$store.dispatch('blockUser', { id: this.user.id })
this.hideConfirmBlock()
},
unblockUser () {