mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +08:00
fix: prevent rendering errors
This commit is contained in:
parent
70944b5201
commit
e540af16b5
@ -159,7 +159,7 @@ export class InheritanceCollectionMixin extends Collection {
|
|||||||
const targetField = filterFields.find((k) => {
|
const targetField = filterFields.find((k) => {
|
||||||
return k.name === v.name;
|
return k.name === v.name;
|
||||||
});
|
});
|
||||||
return targetField.collectionName !== this.name;
|
return targetField?.collectionName !== this.name;
|
||||||
});
|
});
|
||||||
return this.parentCollectionFields[parentCollectionName];
|
return this.parentCollectionFields[parentCollectionName];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user