fix(web): hide folder upload tab for Gmail and Google Drive OAuth JSON upload (#17162)

This commit is contained in:
euvre
2026-07-21 16:41:38 +08:00
committed by GitHub
parent 5f2b3fc6c5
commit 456e2be161
2 changed files with 2 additions and 0 deletions

View File

@@ -370,6 +370,7 @@ const GmailTokenField = ({ value, onChange }: GmailTokenFieldProps) => {
onValueChange={handleValueChange}
accept={{ '*.json': [FileMimeType.Json] }}
maxFileCount={1}
showFolderTab={false}
description={'Upload your Gmail OAuth JSON file.'}
/>

View File

@@ -371,6 +371,7 @@ const GoogleDriveTokenField = ({
onValueChange={handleValueChange}
accept={{ '*.json': [FileMimeType.Json] }}
maxFileCount={1}
showFolderTab={false}
description="Upload your Google OAuth JSON file."
/>