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;
|
event: MouseEvent;
|
||||||
userInfo: UserInfo | UserInfoSS | UserInfoF | UserInfoDN;
|
userInfo: UserInfo | UserInfoSS | UserInfoF | UserInfoDN;
|
||||||
}) {
|
}) {
|
||||||
this.logger.debug('onContextMenuProfile', event);
|
params.event.preventDefault();
|
||||||
event.event.preventDefault();
|
this.profileContextMenuPosition.x = params.event.clientX + 'px';
|
||||||
this.profileContextMenuPosition.x = event.event.clientX + 'px';
|
this.profileContextMenuPosition.y = params.event.clientY + 'px';
|
||||||
this.profileContextMenuPosition.y = event.event.clientY + 'px';
|
|
||||||
const profileContextMenuTrigger = this.menuTriggerList.toArray()[1];
|
const profileContextMenuTrigger = this.menuTriggerList.toArray()[1];
|
||||||
profileContextMenuTrigger.menu = this.profileContextMenu;
|
profileContextMenuTrigger.menu = this.profileContextMenu;
|
||||||
profileContextMenuTrigger.menuData = { userInfo: event.userInfo };
|
profileContextMenuTrigger.menuData = { userInfo: params.userInfo };
|
||||||
profileContextMenuTrigger.openMenu();
|
profileContextMenuTrigger.openMenu();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user