RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
fix(web): hide folder upload tab for Gmail and Google Drive OAuth JSON upload (#17162)
euvre456e2be16168
diff --git a/web/src/pages/user-setting/data-source/component/gmail-token-field.tsx b/web/src/pages/user-setting/data-source/component/gmail-token-field.tsxindex c347ed649d..749f1b2ee3 100644--- a/web/src/pages/user-setting/data-source/component/gmail-token-field.tsx+++ b/web/src/pages/user-setting/data-source/component/gmail-token-field.tsx@@ -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.'}/>diff --git a/web/src/pages/user-setting/data-source/component/google-drive-token-field.tsx b/web/src/pages/user-setting/data-source/component/google-drive-token-field.tsxindex 53ef6a60bf..3e37097129 100644--- a/web/src/pages/user-setting/data-source/component/google-drive-token-field.tsx+++ b/web/src/pages/user-setting/data-source/component/google-drive-token-field.tsx@@ -371,6 +371,7 @@ const GoogleDriveTokenField = ({onValueChange={handleValueChange}accept={{ '*.json': [FileMimeType.Json] }}maxFileCount={1}+ showFolderTab={false}description="Upload your Google OAuth JSON file."/>