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 80283e27..2f356cf1 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 @@ -98,9 +98,7 @@ export class OrganizationComponent userInfos: (UserInfo | UserInfoSS | UserInfoF | UserInfoDN)[]; }>(); @Output() - openProfile = new EventEmitter<{ - userInfo: UserInfo | UserInfoSS | UserInfoF | UserInfoDN; - }>(); + openProfile = new EventEmitter<{ userSeq: number }>(); @Output() sendCall = new EventEmitter(); @Output() @@ -416,8 +414,8 @@ export class OrganizationComponent this.toggleUser.emit(userInfo); } - onClickOpenProfile(userInfo: UserInfo | UserInfoSS | UserInfoF | UserInfoDN) { - this.openProfile.emit({ userInfo }); + onClickOpenProfile(userSeq: number) { + this.openProfile.emit({ userSeq }); } onClickSendClickToCall(calleeNumber: string) { this.sendCall.emit(calleeNumber);