From a025f59ed234aa27ad3c7dec06e5b0892579a094 Mon Sep 17 00:00:00 2001 From: CJ Cenizal Date: Thu, 2 Apr 2020 07:42:29 -0700 Subject: [PATCH] [7.7] Show server name in Remote Cluster detail panel (#62250) (#62305) * Fix text size for connection status and seeds. --- .../connection_status/connection_status.js | 2 +- .../detail_panel/detail_panel.js | 24 ++++++++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/connection_status/connection_status.js b/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/connection_status/connection_status.js index f032636af0bc3..e71320f51049f 100644 --- a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/connection_status/connection_status.js +++ b/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/components/connection_status/connection_status.js @@ -44,7 +44,7 @@ export function ConnectionStatus({ isConnected, mode }) { {icon} - {message} + {message} diff --git a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/detail_panel/detail_panel.js b/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/detail_panel/detail_panel.js index 4006422d3df50..94c5fd6ce7c3f 100644 --- a/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/detail_panel/detail_panel.js +++ b/x-pack/plugins/remote_clusters/public/application/sections/remote_cluster_list/detail_panel/detail_panel.js @@ -230,7 +230,9 @@ export class DetailPanel extends Component { {seeds.map(seed => ( - {seed} + + {seed} + ))} @@ -296,6 +298,7 @@ export class DetailPanel extends Component { proxySocketConnections, connectedSocketsCount, mode, + serverName, }) { return ( @@ -398,6 +401,25 @@ export class DetailPanel extends Component { + + + + + + + + + + + + + {serverName ? serverName : '-'} + + + ); }