@flowgram.ai/form-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
|
@@ -543,9 +543,6 @@ function useVariableTree(params) {
|
|
|
543
543
|
let children;
|
|
544
544
|
if (ASTMatch2.isObject(type)) {
|
|
545
545
|
children = (type.properties || []).map((_property) => renderVariable(_property, [...parentFields, variable])).filter(Boolean);
|
|
546
|
-
if (!children?.length) {
|
|
547
|
-
return null;
|
|
548
|
-
}
|
|
549
546
|
}
|
|
550
547
|
const keyPath = [...parentFields.map((_field) => _field.key), variable.key];
|
|
551
548
|
const key = keyPath.join(".");
|