diff options
| author | Shpuld Shpludson <shp@cock.li> | 2020-05-20 14:48:52 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2020-05-20 14:48:52 +0000 |
| commit | 0b44a5b601fc57de53a73784374dc71bc28700c7 (patch) | |
| tree | dbbe23344e8965a793de8e26075c344a0390c1ba /src | |
| parent | d53a4a754f88897001f63816ab1eeb3f808db435 (diff) | |
| parent | db8dd1223c124e8461806a219d77817ba495794c (diff) | |
Merge branch 'fix/its-me-elements' into 'develop'
Show "it's you" label and hide follow btn for current user
Closes #839 and #827
See merge request pleroma/pleroma-fe!1111
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/follow_card/follow_card.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/follow_card/follow_card.vue b/src/components/follow_card/follow_card.vue index 76a70730..b503783f 100644 --- a/src/components/follow_card/follow_card.vue +++ b/src/components/follow_card/follow_card.vue @@ -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')" |
