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:
parent
ec64db2529
commit
49c6e323fa
@ -141,7 +141,7 @@ export function fetchGroupRelationshipsFail(error) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const fetchGroups = (tab) => (dispatch, getState) => {
|
export const fetchGroups = (tab) => (dispatch, getState) => {
|
||||||
if (!me) return
|
if (!me && tab !== 'featured') return
|
||||||
|
|
||||||
// Don't refetch or fetch when loading
|
// Don't refetch or fetch when loading
|
||||||
const isLoading = getState().getIn(['group_lists', tab, 'isLoading'])
|
const isLoading = getState().getIn(['group_lists', tab, 'isLoading'])
|
||||||
|
Loading…
Reference in New Issue
Block a user