From d1d6124ffce903d94cd166de8f8417c67af6eec7 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Thu, 10 Sep 2020 16:19:04 -0500 Subject: [PATCH] Updated user_lists group_removed_accounts value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Updated: - user_lists group_removed_accounts value --- app/javascript/gabsocial/reducers/user_lists.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/javascript/gabsocial/reducers/user_lists.js b/app/javascript/gabsocial/reducers/user_lists.js index 03a8fb76..9729f8c8 100644 --- a/app/javascript/gabsocial/reducers/user_lists.js +++ b/app/javascript/gabsocial/reducers/user_lists.js @@ -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));