diff --git a/src/components/account_actions/account_actions.js b/src/components/account_actions/account_actions.js index f8ad0e11b..2ac74ea76 100644 --- a/src/components/account_actions/account_actions.js +++ b/src/components/account_actions/account_actions.js @@ -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 () { diff --git a/src/components/account_actions/account_actions.vue b/src/components/account_actions/account_actions.vue index cc00a735d..055f68546 100644 --- a/src/components/account_actions/account_actions.vue +++ b/src/components/account_actions/account_actions.vue @@ -95,7 +95,7 @@