Skip to content
Snippets Groups Projects
Verified Commit e50857d0 authored by Sergey Suprunenko's avatar Sergey Suprunenko
Browse files

Show "it's you" label and hide follow btn for current user

parent dbf9285e
Branches
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
<basic-user-card :user="user">
<div class="follow-card-content-container">
<span
v-if="!noFollowsYou && relationship.followed_by"
v-if="isMe || !noFollowsYou && relationship.followed_by"
class="faint"
>
{{ isMe ? $t('user_card.its_you') : $t('user_card.follows_you') }}
......@@ -15,7 +15,7 @@
<RemoteFollow :user="user" />
</div>
</template>
<template v-else>
<template v-else-if="!isMe">
<FollowButton
:relationship="relationship"
:label-following="$t('user_card.follow_unfollow')"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment