mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Show related values for M2A (#4196)
This commit is contained in:
@@ -11,7 +11,7 @@ export default function getRelatedCollection(collection: string, field: string)
|
||||
const type = fieldInfo.type.toLowerCase();
|
||||
|
||||
// o2m | m2m
|
||||
if (['o2m', 'm2m', 'alias'].includes(type)) {
|
||||
if (['o2m', 'm2m', 'm2a', 'alias'].includes(type)) {
|
||||
return relations[0].many_collection;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user