Parcourir la source

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

tags/1.0.1
Che Kun il y a 7 mois
Parent
révision
cfd7e8a829
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      web/app/components/tools/provider/detail.tsx

+ 1
- 1
web/app/components/tools/provider/detail.tsx Voir le fichier

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

Chargement…
Annuler
Enregistrer