From 49c6e323fae1dc6d13484f7a04b046ba0acd4233 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Tue, 21 Jul 2020 23:00:11 -0500 Subject: [PATCH] Updated fetchGroups action to be only public for featured groups MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Updated: - fetchGroups action to be only public for featured groups --- app/javascript/gabsocial/actions/groups.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/gabsocial/actions/groups.js b/app/javascript/gabsocial/actions/groups.js index b3c89912..683ad365 100644 --- a/app/javascript/gabsocial/actions/groups.js +++ b/app/javascript/gabsocial/actions/groups.js @@ -141,7 +141,7 @@ export function fetchGroupRelationshipsFail(error) { }; export const fetchGroups = (tab) => (dispatch, getState) => { - if (!me) return + if (!me && tab !== 'featured') return // Don't refetch or fetch when loading const isLoading = getState().getIn(['group_lists', tab, 'isLoading'])