about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2021-07-31 12:30:39 -0500
committerStarfall <us@starfall.systems>2021-07-31 12:30:39 -0500
commite74e4761e0423aaf9a93bd65f5c64be382747b9a (patch)
tree076051c74d20d69a0f89aaacc1177de2b630d7b9
parent45ac9a383ca0f119b2423dbae7fb95758d8d0e5a (diff)
Always show follow requests link on single-column view
Closes mastodon/mastodon#16178
-rw-r--r--app/javascript/mastodon/features/ui/components/follow_requests_nav_link.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/javascript/mastodon/features/ui/components/follow_requests_nav_link.js b/app/javascript/mastodon/features/ui/components/follow_requests_nav_link.js
index 950ed7b27..ec21a9055 100644
--- a/app/javascript/mastodon/features/ui/components/follow_requests_nav_link.js
+++ b/app/javascript/mastodon/features/ui/components/follow_requests_nav_link.js
@@ -29,10 +29,6 @@ class FollowRequestsNavLink extends React.Component {
   render () {
     const { count } = this.props;
 
-    if (count === 0) {
-      return null;
-    }
-
     return <NavLink className='column-link column-link--transparent' to='/follow_requests'><IconWithBadge className='column-link__icon' id='user-plus' count={count} /><FormattedMessage id='navigation_bar.follow_requests' defaultMessage='Follow requests' /></NavLink>;
   }