mirror of
https://github.com/strapi/strapi.git
synced 2025-12-25 22:23:10 +00:00
Fix Form store update bug
This commit is contained in:
parent
96b664f8f7
commit
9b1dad7ffe
@ -65,7 +65,8 @@ function formReducer(state = initialState, action) {
|
||||
.set('modifiedDataEdit', action.data);
|
||||
case RESET_DID_FETCH_MODEL_PROP:
|
||||
return state
|
||||
.set('didFetchModel', true);
|
||||
.set('didFetchModel', true)
|
||||
.set('isFormSet', false);
|
||||
case SET_ATTRIBUTE_FORM: {
|
||||
if (state.get('isFormSet')) {
|
||||
return state.set('form', Map(action.form));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user