enable buttons if the user hide follow·er counts
Say the user checked "Don't show follow count", then it's own link button to their count and lists was hidden.
This commit is contained in:
parent
92b04ba7df
commit
536431eb07
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@
|
|||
v-if="followsTabVisible"
|
||||
key="followees"
|
||||
:label="$t('user_card.followees')"
|
||||
:disabled="!user.friends_count"
|
||||
:disabled="!followsTabVisible"
|
||||
>
|
||||
<FriendList :user-id="userId">
|
||||
<template v-slot:item="{item}">
|
||||
|
@ -73,7 +73,7 @@
|
|||
v-if="followersTabVisible"
|
||||
key="followers"
|
||||
:label="$t('user_card.followers')"
|
||||
:disabled="!user.followers_count"
|
||||
:disabled="!followersTabVisible"
|
||||
>
|
||||
<FollowerList :user-id="userId">
|
||||
<template v-slot:item="{item}">
|
||||
|
|
Loading…
Add table
Reference in a new issue