@flowgram.ai/form-materials 0.2.12 → 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/index.js
CHANGED
|
@@ -600,9 +600,6 @@ function useVariableTree(params) {
|
|
|
600
600
|
let children;
|
|
601
601
|
if (import_editor2.ASTMatch.isObject(type)) {
|
|
602
602
|
children = (type.properties || []).map((_property) => renderVariable(_property, [...parentFields, variable])).filter(Boolean);
|
|
603
|
-
if (!children?.length) {
|
|
604
|
-
return null;
|
|
605
|
-
}
|
|
606
603
|
}
|
|
607
604
|
const keyPath = [...parentFields.map((_field) => _field.key), variable.key];
|
|
608
605
|
const key = keyPath.join(".");
|