Compare commits

...

1 Commits

Author SHA1 Message Date
hagen-danswer
00dd09a2b5 Made frontend conditional check for source 2024-12-11 14:15:28 -08:00

View File

@@ -104,7 +104,9 @@ const GDriveMain = ({}: {}) => {
const googleDriveServiceAccountCredential:
| Credential<GoogleDriveServiceAccountCredentialJson>
| undefined = credentialsData.find(
(credential) => credential.credential_json?.google_service_account_key
(credential) =>
credential.credential_json?.google_service_account_key &&
credential.source === "google_drive"
);
const googleDriveConnectorIndexingStatuses: ConnectorIndexingStatus<