From 8d1b4e333c6c5b14fec4920556c1892bad574d67 Mon Sep 17 00:00:00 2001 From: roadscape Date: Wed, 20 Nov 2019 09:38:42 -0600 Subject: [PATCH] empty feed pages #3610 --- src/app/components/pages/PostsIndex.jsx | 37 ++++++++++++++----------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/src/app/components/pages/PostsIndex.jsx b/src/app/components/pages/PostsIndex.jsx index df4d675929..6fa0d7d579 100644 --- a/src/app/components/pages/PostsIndex.jsx +++ b/src/app/components/pages/PostsIndex.jsx @@ -22,21 +22,25 @@ const noFriendsText = (
You haven't followed anyone yet!

- Explore Trending Articles + + Explore Trending +
- Read the Welcome Guide
+ New users guide
); const noCommunitiesText = (
- You haven't subscribed to any communities yet!
-
- Explore Communities -
- Read the Welcome Guide + You haven't joined any communities yet!

+ + Explore Communities + + {/* +

+ New users guide*/}
); @@ -184,15 +188,16 @@ class PostsIndex extends React.Component { /> - {order != 'feed' && ( -
- -
- )} + {order != 'feed' && + !(category === 'my' && !posts.size) && ( +
+ +
+ )}