status of user profile is modified
This commit is contained in:
parent
7aa5f4f227
commit
c6e05667fe
|
@ -36,6 +36,7 @@
|
||||||
<ucap-profile-user-list-item
|
<ucap-profile-user-list-item
|
||||||
*ucapGroupExpansionPanelItem="let userInfo"
|
*ucapGroupExpansionPanelItem="let userInfo"
|
||||||
[userInfo]="userInfo"
|
[userInfo]="userInfo"
|
||||||
|
[presence]="getStatusBulkInfo(userInfo) | async"
|
||||||
[sessionVerinfo]="sessionVerinfo"
|
[sessionVerinfo]="sessionVerinfo"
|
||||||
(click)="onSelectBuddy(userInfo)"
|
(click)="onSelectBuddy(userInfo)"
|
||||||
(openProfile)="onClickOpenProfile($event)"
|
(openProfile)="onClickOpenProfile($event)"
|
||||||
|
|
|
@ -68,7 +68,7 @@ export class UserListItemComponent implements OnInit {
|
||||||
let rtnClass = '';
|
let rtnClass = '';
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'pc':
|
case 'pc':
|
||||||
status = this.presence.pcStatus;
|
status = !!this.presence ? this.presence.pcStatus : undefined;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user