Allow follow(er) lists to be acessible by account owner even if follower counts are disabled
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful

This commit is contained in:
Beefox 2022-12-08 11:50:56 +11:00
parent 40e86998e6
commit d5ae460a74

View file

@ -95,10 +95,9 @@
v-if="followsTabVisible"
key="followees"
:label="$t('user_card.followees')"
:disabled="!user.friends_count"
>
<FriendList :user-id="userId">
<template v-slot:item="{item}">
<template #item="{item}">
<FollowCard :user="item" />
</template>
</FriendList>
@ -107,10 +106,9 @@
v-if="followersTabVisible"
key="followers"
:label="$t('user_card.followers')"
:disabled="!user.followers_count"
>
<FollowerList :user-id="userId">
<template v-slot:item="{item}">
<template #item="{item}">
<FollowCard
:user="item"
:no-follows-you="isUs"