Skip to content

Commit

Permalink
Merge pull request #24 from punktDeForks/bugfix/node-tree-not-loading…
Browse files Browse the repository at this point in the history
…-correctly

BUGFIX: Remove check to show node tree
  • Loading branch information
andrehoffmann30 authored Nov 22, 2023
2 parents 9155562 + 7c74143 commit 7ae3bb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions Neos.Ui/custom-node-tree/src/domain/NodeTreeQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,7 @@ export function findChildNodesForNode(
state: INodeTreeState,
node: INodePartialForTree
): INodePartialForTree[] {
if (!isNodeFullyLoaded(state, node)) {
return [];
}

return node.children.map(
child => findNodeByContextPath(state, child.contextPath)
).filter(result => result !== null) as INodePartialForTree[];
}
}
2 changes: 1 addition & 1 deletion Resources/Public/JavaScript/Plugin.js

Large diffs are not rendered by default.

0 comments on commit 7ae3bb6

Please sign in to comment.