mirror of
https://github.com/directus/directus.git
synced 2026-01-29 21:48:01 -05:00
fix collection not null
This commit is contained in:
@@ -40,7 +40,7 @@ export default defineComponent({
|
||||
},
|
||||
});
|
||||
const collection = computed(() => {
|
||||
if (props.fieldData.field === null || props.fieldData.meta?.collection === null) return null;
|
||||
if (props.fieldData.field === null || props.fieldData.meta?.collection === undefined) return null;
|
||||
const relationData: Relation[] = relationsStore.getRelationsForField(
|
||||
props.fieldData.meta?.collection,
|
||||
props.fieldData.field
|
||||
|
||||
Reference in New Issue
Block a user