mirror of
https://github.com/directus/directus.git
synced 2026-01-24 14:37:58 -05:00
@@ -22,7 +22,7 @@
|
||||
:interface="header.field.interface"
|
||||
:interface-options="header.field.interfaceOptions"
|
||||
:type="header.field.type"
|
||||
:collection="relatedCollection"
|
||||
:collection="junctionCollection"
|
||||
:field="header.field.field"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -7,6 +7,7 @@ export default function getRelatedCollection(collection: string, field: string)
|
||||
const relations = relationsStore.getRelationsForField(collection, field);
|
||||
|
||||
const fieldInfo = fieldsStore.getField(collection, field);
|
||||
|
||||
const type = fieldInfo.type.toLowerCase();
|
||||
|
||||
// o2m | m2m
|
||||
|
||||
Reference in New Issue
Block a user