Fix: Remove the file size and quantity restrictions of the upload control #9613 #9598 (#9618)

### What problem does this PR solve?

Fix: Remove the file size and quantity restrictions of the upload
control #9613 #9598

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2025-08-21 10:54:17 +08:00
committed by GitHub
parent 382458ace7
commit 30005c0203
6 changed files with 11 additions and 18 deletions

View File

@ -26,12 +26,7 @@ export function UploaderTabs({ setFiles }: UploaderTabsProps) {
<TabsTrigger value="password">{t('fileManager.s3')}</TabsTrigger>
</TabsList>
<TabsContent value="account">
<FileUploader
maxFileCount={8}
maxSize={8 * 1024 * 1024}
onValueChange={setFiles}
accept={{ '*': [] }}
/>
<FileUploader onValueChange={setFiles} accept={{ '*': [] }} />
</TabsContent>
<TabsContent value="password">{t('common.comingSoon')}</TabsContent>
</Tabs>