mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-18 03:01:05 +01:00
remove updating state for modifyusersuccess since user is always fetched afterwards
This commit is contained in:
@@ -376,9 +376,6 @@ function byNamesReducer(state: any = {}, action: any = {}) {
|
||||
case FETCH_USER_SUCCESS:
|
||||
return reducerByName(state, action.payload.name, action.payload);
|
||||
|
||||
case MODIFY_USER_SUCCESS:
|
||||
return reducerByName(state, action.payload.name, action.payload);
|
||||
|
||||
case DELETE_USER_SUCCESS:
|
||||
const newUserByNames = deleteUserInUsersByNames(
|
||||
state,
|
||||
|
||||
Reference in New Issue
Block a user