diff options
| author | Shpuld Shpludson <shp@cock.li> | 2019-01-31 15:11:29 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2019-01-31 15:11:29 +0000 |
| commit | 3e4c598af471d52664b22ad11435e9df2a8f2677 (patch) | |
| tree | bd748c651aee7b6025337b332364be55e81f8474 /src/components/user_card_content/user_card_content.vue | |
| parent | 59d47aa44a817d96bbfc6bd1a2027f490e569c7f (diff) | |
| parent | 6a8d10f0bb37aa71eabd4aa8849cf2d8cada2ae1 (diff) | |
Merge branch 'fix/statistics' into 'develop'
Fix statistics label visibility via configuration
See merge request pleroma/pleroma-fe!503
Diffstat (limited to 'src/components/user_card_content/user_card_content.vue')
| -rw-r--r-- | src/components/user_card_content/user_card_content.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/user_card_content/user_card_content.vue b/src/components/user_card_content/user_card_content.vue index 0e820182..d1034d68 100644 --- a/src/components/user_card_content/user_card_content.vue +++ b/src/components/user_card_content/user_card_content.vue @@ -107,18 +107,18 @@ </div> </div> <div class="panel-body profile-panel-body" v-if="!hideBio"> - <div v-if="!hideUserStatsLocal || switcher" class="user-counts"> + <div v-if="!hideUserStatsLocal && switcher" class="user-counts"> <div class="user-count" v-on:click.prevent="setProfileView('statuses')"> <h5>{{ $t('user_card.statuses') }}</h5> - <span v-if="!hideUserStatsLocal">{{user.statuses_count}} <br></span> + <span>{{user.statuses_count}} <br></span> </div> <div class="user-count" v-on:click.prevent="setProfileView('friends')"> <h5>{{ $t('user_card.followees') }}</h5> - <span v-if="!hideUserStatsLocal">{{user.friends_count}}</span> + <span>{{user.friends_count}}</span> </div> <div class="user-count" v-on:click.prevent="setProfileView('followers')"> <h5>{{ $t('user_card.followers') }}</h5> - <span v-if="!hideUserStatsLocal">{{user.followers_count}}</span> + <span>{{user.followers_count}}</span> </div> </div> <p @click.prevent="linkClicked" v-if="!hideBio && user.description_html" class="profile-bio" v-html="user.description_html"></p> |
