fix: update the guiding text in the upload component (#23509)

This commit is contained in:
hangboss1761 2025-08-07 10:06:04 +08:00 • committed by GitHub
commit f3c98a274b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 104 additions and 4 deletions

View file

@ -313,7 +313,7 @@ const FileUploader = ({
<RiUploadCloud2Line className='mr-2 size-5' />
<span>
{t('datasetCreation.stepOne.uploader.button')}
{notSupportBatchUpload ? t('datasetCreation.stepOne.uploader.buttonSingleFile') : t('datasetCreation.stepOne.uploader.button')}
{supportTypes.length > 0 && (
<label className="ml-1 cursor-pointer text-text-accent" onClick={selectHandle}>{t('datasetCreation.stepOne.uploader.browse')}</label>
)}