From: Thibaut Girka Date: Sat, 31 Aug 2019 16:21:02 +0000 (+0200) Subject: Properly hide follower count in profile directory X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=ef270ed0df5a247b77853610f2f108206828a67a;p=mastodon.git Properly hide follower count in profile directory --- diff --git a/app/javascript/flavours/glitch/features/directory/components/account_card.js b/app/javascript/flavours/glitch/features/directory/components/account_card.js index 7bab0db0b..5ba263825 100644 --- a/app/javascript/flavours/glitch/features/directory/components/account_card.js +++ b/app/javascript/flavours/glitch/features/directory/components/account_card.js @@ -139,7 +139,7 @@ class AccountCard extends ImmutablePureComponent {
{shortNumberFormat(account.get('statuses_count'))}
-
{shortNumberFormat(account.get('followers_count'))}
+
{account.get('followers_count') < 0 ? '-' : shortNumberFormat(account.get('followers_count'))}
{account.get('last_status_at') === null ? : }