mirror of
https://github.com/directus/directus.git
synced 2026-02-01 01:45:27 -05:00
Remove temp fields from m2a
This commit is contained in:
@@ -7,6 +7,8 @@ export function getRelationType(getRelationOptions: {
|
||||
}): 'm2o' | 'o2m' | 'm2a' | null {
|
||||
const { relation, collection, field } = getRelationOptions;
|
||||
|
||||
if (!relation) return null;
|
||||
|
||||
if (
|
||||
relation.many_collection === collection &&
|
||||
relation.many_field === field &&
|
||||
|
||||
Reference in New Issue
Block a user