Skip to content

Commit 6742839

Browse files
Andrea Barbassovins01-4science
authored andcommitted
Merged in task/dspace-cris-2024_02_x/DSC-2457 (pull request DSpace#3449)
[DSC-2457] fix (?) issue with treeview component preload Approved-by: Vincenzo Mecca
2 parents badf2e6 + e1112ff commit 6742839

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/shared/form/vocabulary-treeview/vocabulary-treeview.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ export class VocabularyTreeviewComponent implements OnDestroy, OnInit, OnChanges
218218
node.item,
219219
level,
220220
node.hasChildren,
221-
((!node.isSearchNode && node.hasChildren) || (node.isSearchNode && node.hasChildren && isNotEmpty(node.children))),
221+
(node.hasChildren && isNotEmpty(node.children)),
222222
node.pageInfo,
223223
node.loadMoreParentItem,
224224
node.isSearchNode,

0 commit comments

Comments
 (0)