mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix: sync in sub-frames for common-stores are broken (#724)
* fix: sync in sub-frames for common-stores are broken Signed-off-by: Roman <ixrock@gmail.com> * clean up Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
1 parent
86e1e23ccd
commit
b6a6dadfce
3 files changed
+32
-7
No files matched your search
@@ -38,10 +38,11 @@ import { webFrame } from "electron";
|
||||
@observer
|
||||
export class App extends React.Component {
|
||||
static async init() {
|
||||
const frameId = webFrame.routingId;
|
||||
const clusterId = getHostedClusterId();
|
||||
logger.info(`[APP]: Init dashboard, clusterId=${clusterId}`)
|
||||
logger.info(`[APP]: Init dashboard, clusterId=${clusterId}, frameId=${frameId}`)
|
||||
await Terminal.preloadFonts()
|
||||
await clusterIpc.init.invokeFromRenderer(clusterId, webFrame.routingId);
|
||||
await clusterIpc.initView.invokeFromRenderer(clusterId, frameId);
|
||||
await getHostedCluster().whenInitialized;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user