Skip to content

Commit

Permalink
[Monitoring] Fix Cluster Listing view (#103718)
Browse files Browse the repository at this point in the history
* check for number of nodes

* remove console

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
neptunian and kibanamachine authored Jun 30, 2021
1 parent a22f087 commit 0de3df5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
),
},
{
Expand Down

0 comments on commit 0de3df5

Please sign in to comment.