Hide followers count when hidden by instance or user

shrike
Claire 2023-12-02 17:16:21 +01:00
parent 09062d393f
commit 21df2a68ac
1 changed files with 3 additions and 1 deletions

View File

@ -160,7 +160,9 @@ class Account extends ImmutablePureComponent {
<DisplayName account={account} inline />
{!minimal && (
<div className='account__details'>
<ShortNumber value={account.get('followers_count')} renderer={FollowersCounter} /> {verification} {muteTimeRemaining}
{account.get('followers_count') !== -1 && (
<ShortNumber value={account.get('followers_count')} renderer={FollowersCounter} />
)} {verification} {muteTimeRemaining}
</div>
)}
</div>