From 6305855bfad10e2c7da999648d2dfc0b71e3ae53 Mon Sep 17 00:00:00 2001 From: leejinho Date: Fri, 15 Nov 2019 11:43:24 +0900 Subject: [PATCH] =?UTF-8?q?bugfix=20::=20=EC=A1=B0=EC=A7=81=EB=8F=84=20?= =?UTF-8?q?=EB=B6=80=EC=84=9C=20=ED=81=B4=EB=A6=AD=EC=8B=9C=20=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C=20=EC=95=88=EB=90=98=EB=8D=98=20=EB=AC=B8=EC=A0=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/lib/components/tree.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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,