fix: error reported after deleting the associationFilter block linkage field (#2038)
This commit is contained in:
parent
97a4ef7422
commit
a6892dfff3
@ -957,6 +957,9 @@ const isOptionalField = (field) => {
|
||||
|
||||
export const useAssociationFilterBlockProps = () => {
|
||||
const collectionField = AssociationFilter.useAssociationField();
|
||||
if (!collectionField) {
|
||||
return {};
|
||||
}
|
||||
const fieldSchema = useFieldSchema();
|
||||
const optionalFieldList = useOptionalFieldList();
|
||||
const { getDataBlocks } = useFilterBlock();
|
||||
|
Loading…
Reference in New Issue
Block a user