Skip to content

Commit

Permalink
Adds count of resource on resource tile (argoproj#14904)
Browse files Browse the repository at this point in the history
Signed-off-by: Vipin M S <[email protected]>
Co-authored-by: Ishita Sequeira <[email protected]>
  • Loading branch information
vipinachar and ishitasequeira authored Mar 24, 2024
1 parent a49880e commit 37c5f4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ function renderGroupedNodes(props: ApplicationResourceTreeProps, node: {count: n
className='application-resource-tree__node-title application-resource-tree__direction-center-left'
onClick={() => props.onGroupdNodeClick && props.onGroupdNodeClick(node.groupedNodeIds)}
title={`Click to see details of ${node.count} collapsed ${node.kind} and doesn't contains any active pods`}>
{node.kind}
{node.count} {node.kind}s
<span style={{paddingLeft: '.5em', fontSize: 'small'}}>
{node.kind === 'ReplicaSet' ? (
<i
Expand Down

0 comments on commit 37c5f4d

Please sign in to comment.