From a64a966aa6400a0de0d90d71d8c2272250ad44b8 Mon Sep 17 00:00:00 2001 From: Weronika Olejniczak Date: Thu, 26 Dec 2024 12:14:15 +0100 Subject: [PATCH] refactor(monitoring): remove redundant divs --- .../public/components/cluster/listing/listing.js | 6 +----- .../components/elasticsearch/nodes/nodes.js | 16 +++++++--------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/listing.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/listing.js index ad5fa1d5a925..ff2f4efabdf7 100644 --- a/x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/listing.js +++ b/x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/listing.js @@ -208,11 +208,7 @@ const getColumns = ( const license = cluster.license; if (!licenseType) { - return ( -
-
N/A
-
- ); + return
N/A
; } if (license) { diff --git a/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/nodes.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/nodes.js index f4b4db71a79e..e40edf1d2410 100644 --- a/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/nodes.js +++ b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/nodes.js @@ -110,15 +110,13 @@ const getColumns = (showCgroupMetricsElasticsearch, setupMode, clusterUuid, aler }; setupModeStatus = ( -
- -
+ ); if (status.isNetNewUser) { nameLink = value;