Revert "Fix bug where reducer dies on empty operation"
This reverts commit 08b3c38b8a.
This commit is contained in:
@@ -97,10 +97,7 @@ export default {
|
||||
},
|
||||
|
||||
[UPDATE_OPERATION_VALUE]: (state, { payload: { path, value, key } }) => {
|
||||
if(state.get(["resolved", "paths", ...path, key])) {
|
||||
return state.setIn(["resolved", "paths", ...path, key], fromJS(value))
|
||||
}
|
||||
return state
|
||||
return state.setIn(["resolved", "paths", ...path, key], fromJS(value))
|
||||
},
|
||||
|
||||
[CLEAR_RESPONSE]: (state, { payload: { path, method } } ) =>{
|
||||
|
||||
Reference in New Issue
Block a user