todo/fixme: hide active view on disconnect

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2020-08-08 12:53:26 +03:00
1 parent cf70fb5582
commit 116befbc89
1 file changed
+2 -1
@@ -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;