Skip to content

Commit

Permalink
[inspector] fix clusters and shards table expanded row does not updat…
Browse files Browse the repository at this point in the history
…e when request is changed (#171232)

Fixes #171231

PR adds key property to ClustersTable to force new instance when request
changes

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
nreese and kibanamachine authored Nov 15, 2023
1 parent 3960204 commit f291703
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class ClustersView extends Component<DetailViewProps> {
<>
<EuiSpacer size="m" />
{Object.keys(clusters).length > 1 ? <ClustersHealth clusters={clusters} /> : null}
<ClustersTable clusters={clusters} />
<ClustersTable key={this.props.request.id} clusters={clusters} />
</>
) : null;
}
Expand Down

0 comments on commit f291703

Please sign in to comment.