status of user profile is modified

This commit is contained in:
병준 박 2019-11-18 18:06:38 +09:00
parent 7aa5f4f227
commit c6e05667fe
2 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@
<ucap-profile-user-list-item
*ucapGroupExpansionPanelItem="let userInfo"
[userInfo]="userInfo"
[presence]="getStatusBulkInfo(userInfo) | async"
[sessionVerinfo]="sessionVerinfo"
(click)="onSelectBuddy(userInfo)"
(openProfile)="onClickOpenProfile($event)"

View File

@ -68,7 +68,7 @@ export class UserListItemComponent implements OnInit {
let rtnClass = '';
switch (type) {
case 'pc':
status = this.presence.pcStatus;
status = !!this.presence ? this.presence.pcStatus : undefined;
break;
}