Fix manyWay with self ct

This commit is contained in:
soupette 2019-10-01 12:42:42 +02:00
parent a516e197b4
commit cf8bcf627b

View File

@ -177,7 +177,7 @@ function appReducer(state = initialState, action) {
return newAttribute; return newAttribute;
}); });
if (target === modelName && nature !== 'oneWay') { if (target === modelName && nature !== 'oneWay' && nature !== 'manyWay') {
newState = newState.updateIn([...basePath, 'attributes', key], () => { newState = newState.updateIn([...basePath, 'attributes', key], () => {
const newAttribute = state const newAttribute = state
.get('temporaryAttributeRelation') .get('temporaryAttributeRelation')