mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-10 03:23:04 +00:00
Fix CreateGroup state update, add info alerts
This commit is contained in:
@@ -17,10 +17,6 @@ export const reducers = (state = initialState, action) => {
|
||||
user_data: action.value.data,
|
||||
});
|
||||
|
||||
// Deprecated - doesn't store pagination values
|
||||
case "USER_DATA":
|
||||
return Object.assign({}, state, { user_data: action.value });
|
||||
|
||||
// Updates the client group model data and stores the page
|
||||
case "GROUPS_PAGE":
|
||||
return Object.assign({}, state, {
|
||||
@@ -28,10 +24,6 @@ export const reducers = (state = initialState, action) => {
|
||||
groups_data: action.value.data,
|
||||
});
|
||||
|
||||
// Deprecated - doesn't store pagination values
|
||||
case "GROUPS_DATA":
|
||||
return Object.assign({}, state, { groups_data: action.value });
|
||||
|
||||
default:
|
||||
return state;
|
||||
}
|
||||
|
Reference in New Issue
Block a user