Updated fetchGroups action to be only public for featured groups

• Updated:
- fetchGroups action to be only public for featured groups
This commit is contained in:
mgabdev 2020-07-21 23:00:11 -05:00
parent ec64db2529
commit 49c6e323fa
1 changed files with 1 additions and 1 deletions

View File

@ -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'])