diff --git a/packages/strapi-plugin-content-type-builder/admin/src/containers/App/reducer.js b/packages/strapi-plugin-content-type-builder/admin/src/containers/App/reducer.js index 4c2da2f6a2..ee37c8ec7e 100644 --- a/packages/strapi-plugin-content-type-builder/admin/src/containers/App/reducer.js +++ b/packages/strapi-plugin-content-type-builder/admin/src/containers/App/reducer.js @@ -177,7 +177,7 @@ function appReducer(state = initialState, action) { return newAttribute; }); - if (target === modelName && nature !== 'oneWay') { + if (target === modelName && nature !== 'oneWay' && nature !== 'manyWay') { newState = newState.updateIn([...basePath, 'attributes', key], () => { const newAttribute = state .get('temporaryAttributeRelation')