From 4291263cecbe2798be7d798da9aa15b880ff948a Mon Sep 17 00:00:00 2001
From: eal <eal@waifu.club>
Date: Mon, 21 Aug 2017 23:14:05 +0300
Subject: Add link to profile on usercard avatar and @handle

---
 src/components/user_card_content/user_card_content.vue | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'src/components/user_card_content/user_card_content.vue')

diff --git a/src/components/user_card_content/user_card_content.vue b/src/components/user_card_content/user_card_content.vue
index 175ae03d..4544f6a5 100644
--- a/src/components/user_card_content/user_card_content.vue
+++ b/src/components/user_card_content/user_card_content.vue
@@ -6,11 +6,15 @@
           <i class="icon-cog usersettings"></i>
         </router-link>
         <div class='container'>
-          <img :src="user.profile_image_url_original">
+          <router-link :to="{ name: 'user-profile', params: { id: user.id } }">
+            <img :src="user.profile_image_url_original">
+          </router-link>
           <span class="glyphicon glyphicon-user"></span>
           <div class="name-and-screen-name">
             <div class='user-name'>{{user.name}}</div>
-            <div class='user-screen-name'>@{{user.screen_name}}</div>
+            <router-link :to="{ name: 'user-profile', params: { id: user.id } }">
+              <div class='user-screen-name'>@{{user.screen_name}}</div>
+            </router-link>
           </div>
         </div>
         <div v-if="isOtherUser" class="user-interactions">
-- 
cgit v1.2.3-70-g09d2

