Skip to content

Commit

Permalink
Merge pull request #15887 from primefaces/issue-15886
Browse files Browse the repository at this point in the history
Fixed #15886 - Tree | Tree hierarchy
  • Loading branch information
cetincakiroglu authored Jun 27, 2024
2 parents efde544 + e564d56 commit 12826fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/tree/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ import {
</span>
</span>
</div>
<ul class="p-treenode-children" style="display: none;" *ngIf="!tree.virtualScroll && node.children && node.expanded" [style.display]="node.expanded ? 'block' : 'none'" role="tree">
<ul class="p-treenode-children" style="display: none;" *ngIf="!tree.virtualScroll && node.children && node.expanded" [style.display]="node.expanded ? 'block' : 'none'" role="group">
<p-treeNode
*ngFor="let childNode of node.children; let firstChild = first; let lastChild = last; let index = index; trackBy: tree.trackBy"
[node]="childNode"
Expand Down

0 comments on commit 12826fe

Please sign in to comment.