[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
|
@ -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…
Reference in a new issue