mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 23:45:44 +01:00
correct structure of config state part
This commit is contained in:
@@ -60,10 +60,8 @@ function reducer(state: any = {}, action: any = {}) {
|
||||
case FETCH_CONFIG_SUCCESS:
|
||||
return {
|
||||
...state,
|
||||
config: {
|
||||
entries: action.payload,
|
||||
configUpdatePermission: action.payload._links.update ? true : false
|
||||
}
|
||||
entries: action.payload,
|
||||
configUpdatePermission: action.payload._links.update ? true : false
|
||||
};
|
||||
default:
|
||||
return state;
|
||||
|
||||
Reference in New Issue
Block a user