Fix context menu click

This commit is contained in:
Evan Simkowitz 2024-07-23 12:40:50 -07:00
parent 3e3eaab8ea
commit 876c360922
No known key found for this signature in database

View File

@ -11,7 +11,7 @@ class ContextMenuModelType {
getApi().onContextMenuClick(this.handleContextMenuClick.bind(this)); getApi().onContextMenuClick(this.handleContextMenuClick.bind(this));
} }
handleContextMenuClick(e: any, id: string): void { handleContextMenuClick(id: string): void {
let handler = this.handlers.get(id); let handler = this.handlers.get(id);
if (handler) { if (handler) {
handler(); handler();