@flowgram.ai/form-antd-materials 0.2.13 → 0.2.14
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/esm/index.js
CHANGED
|
@@ -646,9 +646,6 @@ function useVariableTree(params) {
|
|
|
646
646
|
let children;
|
|
647
647
|
if (ASTMatch2.isObject(type)) {
|
|
648
648
|
children = (type.properties || []).map((_property) => renderVariable(_property, [...parentFields, variable])).filter(Boolean);
|
|
649
|
-
if (!children?.length) {
|
|
650
|
-
return null;
|
|
651
|
-
}
|
|
652
649
|
}
|
|
653
650
|
const keyPath = [...parentFields.map((_field) => _field.key), variable.key];
|
|
654
651
|
const key = keyPath.join(".");
|