mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix: incorrect subscribing event name to navigate in cluster view (#2363)
Co-authored-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
e718b250cc
commit
62c3501011
6 files changed
+31
-16
No files matched your search
+2
-1
@@ -29,6 +29,7 @@ import { LensProtocolRouterMain } from "./protocol-handler";
|
||||
import { getAppVersion, getAppVersionFromProxyServer } from "../common/utils";
|
||||
import { bindBroadcastHandlers } from "../common/ipc";
|
||||
import { startUpdateChecking } from "./app-updater";
|
||||
import { IpcRendererNavigationEvents } from "../renderer/navigation/events";
|
||||
|
||||
const workingDir = path.join(app.getPath("appData"), appName);
|
||||
let proxyPort: number;
|
||||
@@ -162,7 +163,7 @@ app.on("ready", async () => {
|
||||
windowManager.initMainWindow();
|
||||
}
|
||||
|
||||
ipcMain.on("renderer:loaded", () => {
|
||||
ipcMain.on(IpcRendererNavigationEvents.LOADED, () => {
|
||||
startUpdateChecking();
|
||||
LensProtocolRouterMain
|
||||
.getInstance<LensProtocolRouterMain>()
|
||||
|
||||
Reference in new issue
Block a user