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 */}
{!isDetailLoading && (collection.type === CollectionType.custom) && (
<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>
)}
{/* Workflow type */}

Loading…
Cancel
Save