@onehat/ui 0.4.42 → 0.4.43
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/package.json
CHANGED
|
@@ -736,8 +736,8 @@ function TreeComponent(props) {
|
|
|
736
736
|
}
|
|
737
737
|
|
|
738
738
|
const
|
|
739
|
-
|
|
740
|
-
directChildren = _.filter(
|
|
739
|
+
node = await datum.item.loadChildren(depth),
|
|
740
|
+
directChildren = _.filter(node.children, (child) => { // narrow list to only direct descendants, so buildTreeNodeData can work correctly
|
|
741
741
|
return child.depth === datum.item.depth + 1;
|
|
742
742
|
});
|
|
743
743
|
|