mirror of
https://github.com/directus/directus.git
synced 2026-02-15 12:14:56 -05:00
fix M2M and M2A drawer item validation (#12629)
This commit is contained in:
@@ -135,7 +135,7 @@ export default defineComponent({
|
||||
|
||||
const { info: collectionInfo } = useCollection(collection);
|
||||
|
||||
const isNew = computed(() => props.primaryKey === '+');
|
||||
const isNew = computed(() => props.primaryKey === '+' && props.relatedPrimaryKey === '+');
|
||||
|
||||
const title = computed(() => {
|
||||
const collection = junctionRelatedCollectionInfo?.value || collectionInfo.value!;
|
||||
|
||||
Reference in New Issue
Block a user