variable name is changed
This commit is contained in:
parent
3b8b2b2ced
commit
d0c9efaa76
|
@ -194,17 +194,16 @@ export class GroupComponent implements OnInit {
|
|||
);
|
||||
}
|
||||
|
||||
onContextMenuProfile(event: {
|
||||
onContextMenuProfile(params: {
|
||||
event: MouseEvent;
|
||||
userInfo: UserInfo | UserInfoSS | UserInfoF | UserInfoDN;
|
||||
}) {
|
||||
this.logger.debug('onContextMenuProfile', event);
|
||||
event.event.preventDefault();
|
||||
this.profileContextMenuPosition.x = event.event.clientX + 'px';
|
||||
this.profileContextMenuPosition.y = event.event.clientY + 'px';
|
||||
params.event.preventDefault();
|
||||
this.profileContextMenuPosition.x = params.event.clientX + 'px';
|
||||
this.profileContextMenuPosition.y = params.event.clientY + 'px';
|
||||
const profileContextMenuTrigger = this.menuTriggerList.toArray()[1];
|
||||
profileContextMenuTrigger.menu = this.profileContextMenu;
|
||||
profileContextMenuTrigger.menuData = { userInfo: event.userInfo };
|
||||
profileContextMenuTrigger.menuData = { userInfo: params.userInfo };
|
||||
profileContextMenuTrigger.openMenu();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user