mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-11 18:59:12 +08:00
fix: missing action value to tools.includeToolNum
lang for custom t… (#15239)
This commit is contained in:
parent
804b818c6b
commit
cfd7e8a829
@ -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…
x
Reference in New Issue
Block a user