1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

todo/fixme: hide active view on disconnect

Signed-off-by: Roman <ixrock@gmail.com>
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
Roman 2020-08-08 12:53:26 +03:00 committed by Lauri Nevala
parent 7364cb75d6
commit 0b8003221f

View File

@ -9,7 +9,7 @@ import { ClusterStatus } from "./cluster-status";
import { clusterIpc } from "../../../common/cluster-ipc";
import logger from "../../../main/logger";
// todo: figure out how to replace webview-tag to iframe
// fixme: hide active view on disconnect
// fixme: webview reloading/blinking when switching common <-> cluster views
interface LensView {
@ -47,6 +47,7 @@ export class ClusterView extends React.Component {
this.detachViews();
}
// fixme: figure out how to replace webview-tag to iframe
initView = (clusterId: ClusterId) => {
if (!clusterId || lensViews.has(clusterId)) {
return;