replacements
This commit is contained in:
parent
75f9bc1775
commit
95a087c313
6 changed files with 28 additions and 26 deletions
|
|
@ -36,13 +36,13 @@ const BlockCard = {
|
|||
},
|
||||
methods: {
|
||||
unblockUser() {
|
||||
this.$store.dispatch('unblockUser', this.user.id)
|
||||
useUsersStore().unblockUser(this.user.id)
|
||||
},
|
||||
blockUser() {
|
||||
if (this.blockExpiration) {
|
||||
this.$refs.timedBlockDialog.optionallyPrompt()
|
||||
} else {
|
||||
this.$store.dispatch('blockUser', { id: this.user.id })
|
||||
useUsersStore().blockUser(this.user.id)
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue