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 authored and GitHub committed 2021-05-03 07:15:02 +03:00
1 parent 311869566b
commit d08aeaa2e4
1 file changed
+2
@@ -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 && (