1
0
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:
Jari Kolehmainen 2021-05-03 07:15:02 +03:00 committed by GitHub
parent 311869566b
commit d08aeaa2e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,6 +62,8 @@ export class ClusterView extends React.Component<Props> {
const { cluster } = this;
const showStatus = cluster && (!cluster.available || !hasLoadedView(cluster.id) || !cluster.ready);
refreshViews(cluster.id);
return (
<div className="ClusterView flex align-center">
{showStatus && (