link interaction avatars to the user profile

This commit is contained in:
taehoon 2019-05-08 12:04:33 -04:00
parent 157d4e601e
commit 31e14cd45d
2 changed files with 9 additions and 3 deletions

View file

@ -1,8 +1,8 @@
<template>
<div class="avatars">
<div class="avatars-item" v-for="user in slicedUsers">
<UserAvatar :user="user" class="avatar-small" />
</div>
<router-link :to="userProfileLink(user)" class="avatars-item" v-for="user in slicedUsers">
<UserAvatar :user="user" class="avatar-small" />
</router-link>
</div>
</template>