Ver código fonte

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

tags/1.0.1
Che Kun 7 meses atrás
pai
commit
cfd7e8a829
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      web/app/components/tools/provider/detail.tsx

+ 1
- 1
web/app/components/tools/provider/detail.tsx Ver arquivo

@@ -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 */}

Carregando…
Cancelar
Salvar