diff --git a/projects/ucap-webmessenger-ui-organization/src/lib/components/tree.component.ts b/projects/ucap-webmessenger-ui-organization/src/lib/components/tree.component.ts index 37d54111..b41128d1 100644 --- a/projects/ucap-webmessenger-ui-organization/src/lib/components/tree.component.ts +++ b/projects/ucap-webmessenger-ui-organization/src/lib/components/tree.component.ts @@ -28,6 +28,7 @@ interface FlatNode { expandable: boolean; name: string; level: number; + deptInfo: DeptInfo; } @Component({ @@ -110,7 +111,8 @@ export class TreeComponent implements OnInit, AfterViewInit { return { expandable: !!node.children && node.children.length > 0, name: node.name, - level + level, + deptInfo: node.deptInfo }; }, node => node.level,