From f2917035668640cb7a83f016d882917c5371e933 Mon Sep 17 00:00:00 2001 From: Nathan Reese Date: Tue, 14 Nov 2023 19:23:16 -0700 Subject: [PATCH] [inspector] fix clusters and shards table expanded row does not update when request is changed (#171232) Fixes https://github.com/elastic/kibana/issues/171231 PR adds key property to ClustersTable to force new instance when request changes Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- .../requests/components/details/clusters_view/clusters_view.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx b/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx index 1e35e0276139e..8a96847832dc8 100644 --- a/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx +++ b/src/plugins/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx @@ -45,7 +45,7 @@ export class ClustersView extends Component { <> {Object.keys(clusters).length > 1 ? : null} - + ) : null; }