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:
Stacy Harper 2022-04-26 18:10:42 +02:00
parent 92b04ba7df
commit 536431eb07
No known key found for this signature in database
GPG key ID: EABA44759877E02A

View file

@ -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}">