1
0
mirror of https://git.pleroma.social/sjw/pleroma-fe.git synced 2024-11-16 00:56:20 +01:00

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

This commit is contained in:
Sergey Suprunenko 2020-05-13 22:58:08 +02:00
parent dbf9285ed7
commit e50857d0ff
No known key found for this signature in database
GPG Key ID: 5DCA7D1BE3914F9C

View File

@ -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')"