@flowgram.ai/form-antd-materials 0.2.13 → 0.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -704,9 +704,6 @@ function useVariableTree(params) {
|
|
|
704
704
|
let children;
|
|
705
705
|
if (import_editor2.ASTMatch.isObject(type)) {
|
|
706
706
|
children = (type.properties || []).map((_property) => renderVariable(_property, [...parentFields, variable])).filter(Boolean);
|
|
707
|
-
if (!children?.length) {
|
|
708
|
-
return null;
|
|
709
|
-
}
|
|
710
707
|
}
|
|
711
708
|
const keyPath = [...parentFields.map((_field) => _field.key), variable.key];
|
|
712
709
|
const key = keyPath.join(".");
|