Updated user_lists group_removed_accounts value

• Updated:
- user_lists group_removed_accounts value
This commit is contained in:
mgabdev 2020-09-10 16:19:04 -05:00
parent d7169aa2e9
commit d1d6124ffc
1 changed files with 2 additions and 0 deletions

View File

@ -162,7 +162,9 @@ export default function userLists(state = initialState, action) {
return appendToList(state, 'groups', action.id, action.accounts, action.next);
case GROUP_REMOVED_ACCOUNTS_FETCH_SUCCESS:
return normalizeList(state, 'group_removed_accounts', action.id, action.accounts, action.next);
case GROUP_REMOVED_ACCOUNTS_EXPAND_SUCCESS:
return appendToList(state, 'group_removed_accounts', action.id, action.accounts, action.next);
case GROUP_REMOVED_ACCOUNTS_REMOVE_SUCCESS:
return state.updateIn(['group_removed_accounts', action.groupId, 'items'], list => list.filterNot(item => item === action.id));