fix: missing action value to `tools.includeToolNum` lang for custom t… (#15239)

pull/14262/head
Che Kun 1 year ago committed by Bharat Ramanathan
parent b488372b6f
commit fa765cb704

@ -337,7 +337,7 @@ const ProviderDetail = ({
{/* Custom type */} {/* Custom type */}
{!isDetailLoading && (collection.type === CollectionType.custom) && ( {!isDetailLoading && (collection.type === CollectionType.custom) && (
<div className='text-text-secondary system-sm-semibold-uppercase'> <div className='text-text-secondary system-sm-semibold-uppercase'>
<span className=''>{t('tools.includeToolNum', { num: toolList.length }).toLocaleUpperCase()}</span> <span className=''>{t('tools.includeToolNum', { num: toolList.length, action: toolList.length > 1 ? 'actions' : 'action' }).toLocaleUpperCase()}</span>
</div> </div>
)} )}
{/* Workflow type */} {/* Workflow type */}

Loading…
Cancel
Save