From 1af702bccddc54065a321e89624a15961f3768d0 Mon Sep 17 00:00:00 2001 From: leejinho Date: Wed, 8 Jan 2020 13:17:34 +0900 Subject: [PATCH] =?UTF-8?q?#=20=EB=8C=80=EC=83=81=20=EC=9D=B4=EC=8A=88?= =?UTF-8?q?=EC=82=AC=ED=95=AD=20TC=5FMSG=5F060=201.=20=EA=B2=80=EC=83=89?= =?UTF-8?q?=EA=B2=B0=EA=B3=BC=EB=8A=94=20=EC=A0=95=EC=83=81=EC=A0=81?= =?UTF-8?q?=EC=9D=B4=EB=82=98=20=EA=B2=80=EC=83=89=EA=B2=B0=EA=B3=BC?= =?UTF-8?q?=EA=B0=80=20=EB=A7=8E=EC=95=98=EB=8B=A4=EA=B0=80=20=EA=B2=80?= =?UTF-8?q?=EC=83=89=EA=B2=B0=EA=B3=BC=EA=B0=80=20=EC=A0=81=EC=96=B4?= =?UTF-8?q?=EC=A7=80=EB=A9=B4=20=EC=8A=A4=ED=81=AC=EB=A1=A4=EC=9D=B4=20?= =?UTF-8?q?=EC=B5=9C=EC=83=81=EC=9C=84=EB=A1=9C=20=EA=B0=80=EC=A7=80?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EA=B3=A0=20=ED=95=98=EB=8B=A8=EC=97=90=20?= =?UTF-8?q?=EB=A8=B8=EB=AC=BC=EB=9F=AC=20=EC=9E=88=EC=9D=8C=20>>>>>>>>>>>>?= =?UTF-8?q?>>>=201.=20=ED=94=84=EB=A1=9C=EA=B7=B8=EB=9E=A8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../left-sidenav/organization.component.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/organization.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/organization.component.ts index 7403cfce..c09d0e0c 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/organization.component.ts +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/left-sidenav/organization.component.ts @@ -116,6 +116,8 @@ export class OrganizationComponent @ViewChild('cvsvDeptUser', { static: false }) cvsvDeptUser: CdkVirtualScrollViewport; + @ViewChild('cvsvDeptSearchUser', { static: false }) + cvsvDeptSearchUser: CdkVirtualScrollViewport; @ViewChild(PerfectScrollbarDirective, { static: false }) psDirectiveRef?: PerfectScrollbarDirective; @@ -290,15 +292,21 @@ export class OrganizationComponent this.selectedDepartmentProcessing = false; // 검색 결과에 따른 프레즌스 조회. const userSeqList: number[] = []; - this.searchUserInfos.map(user => userSeqList.push(user.seq)); if (userSeqList.length > 0) { this.store.dispatch( StatusStore.bulkInfo({ divCd: 'orgSrch', - userSeqs: userSeqList + userSeqs: this.searchUserInfos.map(user => user.seq) }) ); } + + if (!!this.cvsvDeptSearchUser) { + this.cvsvDeptSearchUser.scrollToOffset(0); + } + if (!!this.psDirectiveRef) { + this.psDirectiveRef.update(); + } } break; }