Removed check if user exists in sortGroups action
• Removed: - check if user exists in sortGroups action
This commit is contained in:
parent
975e6bd8b1
commit
0a719d8b6b
@ -585,8 +585,6 @@ export function updateRoleFail(groupId, id, error) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const sortGroups = (tab, sortType) => (dispatch, getState) => {
|
export const sortGroups = (tab, sortType) => (dispatch, getState) => {
|
||||||
if (!me) return
|
|
||||||
|
|
||||||
const groupIdsByTab = getState().getIn(['group_lists', tab, 'items'], ImmutableList()).toJS()
|
const groupIdsByTab = getState().getIn(['group_lists', tab, 'items'], ImmutableList()).toJS()
|
||||||
const allGroups = getState().get('groups', ImmutableMap()).toJS()
|
const allGroups = getState().get('groups', ImmutableMap()).toJS()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user