From e2f825266a967029ef163ecc8cfb8e5d26a5e635 Mon Sep 17 00:00:00 2001
From: ValD <maghtpol@gmail.com>
Date: Thu, 13 Dec 2018 23:11:36 +0530
Subject: added condition to check for logined user

---
 src/components/user_card/user_card.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue
index 5a8e5531..eb0d7576 100644
--- a/src/components/user_card/user_card.vue
+++ b/src/components/user_card/user_card.vue
@@ -10,13 +10,13 @@
       <div :title="user.name" v-if="user.name_html" class="user-name">
         <span v-html="user.name_html"></span>
         <span class="follows-you" v-if="!userExpanded && showFollows && user.follows_you">
-          {{ $t('user_card.follows_you') }}
+          {{ currentUser.id == user.id ? $t('user_card.its_you') : $t('user_card.follows_you') }}
         </span>
       </div>
       <div :title="user.name" v-else class="user-name">
         {{ user.name }}
         <span class="follows-you" v-if="!userExpanded && showFollows && user.follows_you">
-          {{ $t('user_card.follows_you') }}
+          {{ currentUser.id == user.id ? $t('user_card.its_you') : $t('user_card.follows_you') }}
         </span>
       </div>
       <router-link class='user-screen-name' :to="{ name: 'user-profile', params: { id: user.id } }">
-- 
cgit v1.2.3-70-g09d2

