{pendingThresholdStatuses.length !== thresholdEnvStatuses.length &&
`${
healthyThresholdStatuses.length -
pendingThresholdStatuses.length
} / ${thresholdEnvStatuses.length} ` + t('thresholds succeeded')}
{pendingThresholdStatuses.length > 0 && (
{`${pendingThresholdStatuses.length} / ${thresholdEnvStatuses.length} ` +
t('still pending')}
)}
{thresholdEnvStatuses.length !== expectedThresholds && (
{`... / ${expectedThresholds}`}
)}
{t('Open in Release Details')}
}
>
{thresholdEnvStatuses.length === expectedThresholds
? healthyThresholdStatuses.length
: '...'}{' '}
/ {expectedThresholds}
)}