aboutsummaryrefslogtreecommitdiff
path: root/src/components/avatar_list/avatar_list.vue
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-05-08 12:04:33 -0400
committertaehoon <th.dev91@gmail.com>2019-05-08 12:04:33 -0400
commit31e14cd45d21880962b530de1f515bc3d4fec5ba (patch)
treeb4d246159a5f2bbf27ef273e432bd5129af928ed /src/components/avatar_list/avatar_list.vue
parent157d4e601ebd1d46c7bb66d09de5561b57c7d35a (diff)
link interaction avatars to the user profile
Diffstat (limited to 'src/components/avatar_list/avatar_list.vue')
-rw-r--r--src/components/avatar_list/avatar_list.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/avatar_list/avatar_list.vue b/src/components/avatar_list/avatar_list.vue
index 4e0de2c9..c0238570 100644
--- a/src/components/avatar_list/avatar_list.vue
+++ b/src/components/avatar_list/avatar_list.vue
@@ -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>