Skip to content

Commit

Permalink
Hide followers count when hidden by instance or user
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire committed Dec 2, 2023
1 parent 8770376 commit e50c44a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/javascript/flavours/glitch/components/account.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit e50c44a

Please sign in to comment.