Fix click on relational filters with children (#9007)

This commit is contained in:
ian
2021-10-22 00:35:48 +08:00
committed by GitHub
parent 7facfb1616
commit 20ec941fa8

View File

@@ -57,7 +57,7 @@ export function useFieldTree(
key,
field: fieldName,
children: children.length > 0 ? children : undefined,
selectable: true,
selectable: !children || children.length === 0,
};
});
}