TASK: Hide whole follower menu for own account

This commit is contained in:
Markus Günther 2018-08-15 21:36:46 +02:00
parent 07bbfbdb8d
commit 42dd30b908
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
element-loading-background="rgba(0, 0, 0, 0.8)">
<div class="header-background" v-bind:style="{ backgroundImage: 'url(' + account.header + ')' }">
<div class="header">
<div class="follow-follower" v-if="relationship !== null && relationship !== ''">
<div class="follow-follower" v-if="relationship !== null && relationship !== '' && account.username!==user.username">
<div class="follower-status">
<span class="status" v-if="relationship.followed_by">{{ $t('side_bar.account_profile.follows_you') }}</span>
<span class="status" v-else>{{ $t('side_bar.account_profile.doesnt_follow_you') }}</span>
@ -18,7 +18,7 @@
<div v-else-if="relationship.requested">
<icon name="hourglass" scale="1.5"></icon>
</div>
<div v-else-if="account.username!==user.username" class="follow" @click="follow(account)">
<div v-else class="follow" @click="follow(account)">
<icon name="user-plus" scale="1.5"></icon>
</div>
</div>