mirror of
https://github.com/strapi/strapi.git
synced 2025-09-27 09:25:46 +00:00
Fix relationComponent update
This commit is contained in:
parent
902ad42d9c
commit
9b0f7366f9
@ -82,7 +82,7 @@ function editReducer(state = initialState, action) {
|
|||||||
case DELETE_RECORD_ERROR:
|
case DELETE_RECORD_ERROR:
|
||||||
return state.set('deleting', false);
|
return state.set('deleting', false);
|
||||||
case TOGGLE_NULL:
|
case TOGGLE_NULL:
|
||||||
return state.set('isRelationComponentNull', !state.get('isRelationComponentNull'));
|
return state.set('isRelationComponentNull', true);
|
||||||
case CANCEL_CHANGES:
|
case CANCEL_CHANGES:
|
||||||
return state.set('record', state.get('initialRecord'));
|
return state.set('record', state.get('initialRecord'));
|
||||||
case SET_FORM_VALIDATIONS:
|
case SET_FORM_VALIDATIONS:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user