mirror of
https://github.com/directus/directus.git
synced 2026-02-13 11:25:01 -05:00
Merge pull request #602 from directus/fix-corresponding
Fix corresponding field name not getting set in store
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user