Skip to content

Commit

Permalink
Merge branch 'dspace-cris-7' of bitbucket.org:4Science/dspace-angular…
Browse files Browse the repository at this point in the history
… into dspace-cris-7
  • Loading branch information
atarix83 committed Mar 1, 2022
2 parents cbe0d5e + 77adbe1 commit 84bdc96
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,11 @@ export class VocabularyTreeviewComponent implements OnDestroy, OnInit {
if (existingNode && existingNode.item.id !== LOAD_MORE && existingNode.item.id !== LOAD_MORE_ROOT) {
return existingNode;
}

const newNode: TreeviewFlatNode = new TreeviewFlatNode(
node.item,
level,
node.hasChildren,
(node.hasChildren && isNotEmpty(node.children)),
((!node.isSearchNode && node.hasChildren) || (node.isSearchNode && node.hasChildren && isNotEmpty(node.children))),
node.pageInfo,
node.loadMoreParentItem,
node.isSearchNode,
Expand Down

0 comments on commit 84bdc96

Please sign in to comment.