@okiss/oms 0.0.89 → 0.0.91

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.es.js CHANGED
@@ -4812,7 +4812,9 @@ const Zt = (e) => {
4812
4812
  const s = { ...o };
4813
4813
  if (o.meta && (s.meta = { ...o.meta }), o.children && o.children.length) {
4814
4814
  const a = lt(o.children, t);
4815
- a.length ? s.children = a : delete s.children;
4815
+ if (!a.length)
4816
+ return n;
4817
+ s.children = a;
4816
4818
  }
4817
4819
  return n.push(s), n;
4818
4820
  }, []), Ma = (e) => {