Move userProfile link to methods

This commit is contained in:
Maxim Filippov 2018-12-17 02:52:27 +03:00
parent 5f10c5e786
commit ea6977cd4d
4 changed files with 10 additions and 10 deletions

View file

@ -29,9 +29,7 @@ const UserCard = {
denyUser () {
this.$store.state.api.backendInteractor.denyUser(this.user.id)
this.$store.dispatch('removeFollowRequest', this.user)
}
},
computed: {
},
userProfileLink (user) {
return generateProfileLink(user.id, user.screen_name)
}