From 78d8320f5eb4f7bc9871e24ed605697fd263210e Mon Sep 17 00:00:00 2001 From: Andrew Lavery Date: Tue, 16 Jan 2024 21:41:36 -0500 Subject: [PATCH 1/2] embedded cluster state display should not split up application state --- .../Dashboard/components/AppStatus.tsx | 58 +++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/web/src/features/Dashboard/components/AppStatus.tsx b/web/src/features/Dashboard/components/AppStatus.tsx index db38a4f1e1..3b89758aff 100644 --- a/web/src/features/Dashboard/components/AppStatus.tsx +++ b/web/src/features/Dashboard/components/AppStatus.tsx @@ -109,35 +109,6 @@ export default class AppStatus extends Component { > {Utilities.toTitleCase(appStatus)} - {!isEmpty(embeddedClusterState) && ( - <> - - Cluster State: - - - - {Utilities.clusterState(embeddedClusterState)} - - - )} {this.props.hasStatusInformers && ( { Details{" "} )} + {!isEmpty(embeddedClusterState) && ( + <> + + Cluster State: + + + + {Utilities.clusterState(embeddedClusterState)} + + + )} Date: Wed, 17 Jan 2024 10:57:06 -0500 Subject: [PATCH 2/2] fix fmt --- .../Dashboard/components/AppStatus.tsx | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/web/src/features/Dashboard/components/AppStatus.tsx b/web/src/features/Dashboard/components/AppStatus.tsx index 3b89758aff..454133d7fd 100644 --- a/web/src/features/Dashboard/components/AppStatus.tsx +++ b/web/src/features/Dashboard/components/AppStatus.tsx @@ -119,33 +119,33 @@ export default class AppStatus extends Component { )} {!isEmpty(embeddedClusterState) && ( - <> + <> Cluster State: - - + + {Utilities.clusterState(embeddedClusterState)} - + )}