Skip to content

Commit

Permalink
Merge pull request #16362 from Perondas/master
Browse files Browse the repository at this point in the history
OrganizationChart | Make Collapsible Propagate
  • Loading branch information
cetincakiroglu authored Sep 26, 2024
2 parents e307410 + 92fe647 commit efa112b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/organizationchart/organizationchart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ import { OrganizationChartNodeCollapseEvent, OrganizationChartNodeExpandEvent, O
</tr>
<tr [ngClass]="!leaf && node.expanded ? 'p-organizationchart-node-visible' : 'p-organizationchart-node-hidden'" class="p-organizationchart-nodes" [@childState]="'in'" [attr.data-pc-section]="'nodes'">
<td *ngFor="let child of node.children" colspan="2" [attr.data-pc-section]="'nodeCell'">
<table class="p-organizationchart-table" pOrganizationChartNode [node]="child" [collapsible]="node.children && node.children.length > 0"></table>
<table class="p-organizationchart-table" pOrganizationChartNode [node]="child" [collapsible]="collapsible && node.children && node.children.length > 0"></table>
</td>
</tr>
</tbody>
Expand Down

0 comments on commit efa112b

Please sign in to comment.