mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Monitoring] Fix Cluster Listing view (#103718)
* check for number of nodes * remove console Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
a22f08750b
commit
0de3df5f0d
1 changed files with 3 additions and 1 deletions
|
@ -132,7 +132,9 @@ const getColumns = (
|
|||
'data-test-subj': 'nodesCount',
|
||||
sortable: true,
|
||||
render: (total, cluster) => (
|
||||
<IsClusterSupported {...cluster}>{numeral(total).format('0,0')}</IsClusterSupported>
|
||||
<IsClusterSupported {...cluster}>
|
||||
{typeof total === 'number' ? numeral(total).format('0,0') : 0}
|
||||
</IsClusterSupported>
|
||||
),
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue