Skip to content
Snippets Groups Projects
Commit fae93217 authored by Tae Hoon's avatar Tae Hoon
Browse files

Show back followees/followers counts

parent ea1d7f46
Branches
Tags
No related merge requests found
......@@ -79,12 +79,6 @@ export default {
set (color) {
this.$store.dispatch('setHighlight', { user: this.user.screen_name, color })
}
},
followeesCountVisible () {
return !this.isOtherUser || !this.user.hide_followings
},
followersCountVisible () {
return !this.isOtherUser || !this.user.hide_followers
}
},
components: {
......
......@@ -112,11 +112,11 @@
<h5>{{ $t('user_card.statuses') }}</h5>
<span>{{user.statuses_count}} <br></span>
</div>
<div class="user-count" v-on:click.prevent="setProfileView('friends')" v-if="followeesCountVisible">
<div class="user-count" v-on:click.prevent="setProfileView('friends')">
<h5>{{ $t('user_card.followees') }}</h5>
<span>{{user.friends_count}}</span>
</div>
<div class="user-count" v-on:click.prevent="setProfileView('followers')" v-if="followersCountVisible">
<div class="user-count" v-on:click.prevent="setProfileView('followers')">
<h5>{{ $t('user_card.followers') }}</h5>
<span>{{user.followers_count}}</span>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment