Fix corresponding field name not getting set in store

This commit is contained in:
Nitwel
2020-10-09 16:25:41 +02:00
parent b4248cdc88
commit f645cfd42c

View File

@@ -178,6 +178,7 @@ export default defineComponent({
interface: 'one-to-many',
},
});
state.relations[0].one_field = state.relations[0].one_collection;
} else {
state.newFields = state.newFields.filter((field: any) => field.$type !== 'corresponding');
}