Add webContents listeners to modals (#2247)

* Add webContents listeners to modals

* Fix tests
This commit is contained in:
Devin Binnie
2022-09-01 09:41:06 -04:00
committed by GitHub
parent 6d550a8a16
commit 4c968dc747
5 changed files with 47 additions and 15 deletions

View File

@@ -277,7 +277,7 @@ export class ViewManager {
log.error(`Couldn't find a view with the name ${viewName}`);
return;
}
WebContentsEventManager.addWebContentsEventListeners(view, this.getServers);
WebContentsEventManager.addMattermostViewEventListeners(view, this.getServers);
}
finishLoading = (server: string) => {