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
parent f6c7175828
commit f3c98a274b
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>
)}