Make role badge visible only on user profile page

This commit is contained in:
eugenijm 2019-02-05 04:17:27 +03:00
parent 676e6da3a5
commit fd4cd2e10a
2 changed files with 1 additions and 5 deletions

View file

@ -20,7 +20,7 @@
<router-link class='user-screen-name' :to="userProfileLink(user)">
<span class="handle">@{{user.screen_name}}
<span class="alert staff" v-if="!!visibleRole">{{visibleRole}}</span>
<span class="alert staff" v-if="!hideBio && !!visibleRole">{{visibleRole}}</span>
</span><span v-if="user.locked"><i class="icon icon-lock"></i></span>
<span v-if="!hideUserStatsLocal && !hideBio" class="dailyAvg">{{dailyAvg}} {{ $t('user_card.per_day') }}</span>
</router-link>