mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 08:19:07 +00:00
Fix relationComponent update
This commit is contained in:
parent
902ad42d9c
commit
9b0f7366f9
@ -56,4 +56,4 @@
|
||||
"npm": ">= 5.3.0"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
}
|
@ -46,4 +46,4 @@
|
||||
"npm": ">= 5.0.0"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
}
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user