Removed check if user exists in sortGroups action

• Removed:
- check if user exists in sortGroups action
This commit is contained in:
mgabdev 2020-07-24 22:50:54 -05:00
parent 975e6bd8b1
commit 0a719d8b6b

View File

@ -585,8 +585,6 @@ export function updateRoleFail(groupId, id, error) {
};
export const sortGroups = (tab, sortType) => (dispatch, getState) => {
if (!me) return
const groupIdsByTab = getState().getIn(['group_lists', tab, 'items'], ImmutableList()).toJS()
const allGroups = getState().get('groups', ImmutableMap()).toJS()