Fix relationComponent update

This commit is contained in:
cyril lopez 2017-10-31 14:01:12 +01:00
parent 902ad42d9c
commit 9b0f7366f9
3 changed files with 3 additions and 3 deletions

View File

@ -56,4 +56,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}

View File

@ -46,4 +46,4 @@
"npm": ">= 5.0.0"
},
"license": "MIT"
}
}

View File

@ -82,7 +82,7 @@ function editReducer(state = initialState, action) {
case DELETE_RECORD_ERROR:
return state.set('deleting', false);
case TOGGLE_NULL:
return state.set('isRelationComponentNull', !state.get('isRelationComponentNull'));
return state.set('isRelationComponentNull', true);
case CANCEL_CHANGES:
return state.set('record', state.get('initialRecord'));
case SET_FORM_VALIDATIONS: