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>
This commit is contained in:
parent
cf70fb5582
commit
116befbc89
@ -9,7 +9,7 @@ import { ClusterStatus } from "./cluster-status";
|
|||||||
import { clusterIpc } from "../../../common/cluster-ipc";
|
import { clusterIpc } from "../../../common/cluster-ipc";
|
||||||
import logger from "../../../main/logger";
|
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
|
// fixme: webview reloading/blinking when switching common <-> cluster views
|
||||||
|
|
||||||
interface LensView {
|
interface LensView {
|
||||||
@ -47,6 +47,7 @@ export class ClusterView extends React.Component {
|
|||||||
this.detachViews();
|
this.detachViews();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// fixme: figure out how to replace webview-tag to iframe
|
||||||
initView = (clusterId: ClusterId) => {
|
initView = (clusterId: ClusterId) => {
|
||||||
if (!clusterId || lensViews.has(clusterId)) {
|
if (!clusterId || lensViews.has(clusterId)) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user