mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix dashboard showing in the background when connect error happens (#2672)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
311869566b
commit
d08aeaa2e4
@ -62,6 +62,8 @@ export class ClusterView extends React.Component<Props> {
|
|||||||
const { cluster } = this;
|
const { cluster } = this;
|
||||||
const showStatus = cluster && (!cluster.available || !hasLoadedView(cluster.id) || !cluster.ready);
|
const showStatus = cluster && (!cluster.available || !hasLoadedView(cluster.id) || !cluster.ready);
|
||||||
|
|
||||||
|
refreshViews(cluster.id);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="ClusterView flex align-center">
|
<div className="ClusterView flex align-center">
|
||||||
{showStatus && (
|
{showStatus && (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user