add user reporting modal

This commit is contained in:
taehoon 2019-03-19 04:53:11 -04:00
parent 0438031da4
commit 2cda9010df
11 changed files with 336 additions and 4 deletions

View file

@ -151,6 +151,9 @@ export default {
},
userProfileLink (user) {
return generateProfileLink(user.id, user.screen_name, this.$store.state.instance.restrictedNicknames)
},
reportUser () {
this.$store.dispatch('openUserReportingModal', this.user.id)
}
}
}