Show related values for M2A (#4196)

This commit is contained in:
YannickMol
2021-02-22 17:24:05 +01:00
committed by GitHub
parent 0233e56c88
commit cf261f4eb2

View File

@@ -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;
}