mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-10-04 12:58:42 +02:00
Handle google drive connectors without folder_path
This commit is contained in:
@@ -219,8 +219,11 @@ const GoogleDriveConnectorManagement = ({
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
{googleDriveConnectorIndexingStatus.connector.connector_specific_config
|
||||
.folder_paths.length > 0 && (
|
||||
{/* Need to do the seemingly unnecessary handling for undefined `folder_paths` for backwards compatibility */}
|
||||
{(
|
||||
googleDriveConnectorIndexingStatus.connector.connector_specific_config
|
||||
.folder_paths || []
|
||||
).length > 0 && (
|
||||
<div className="mt-3">
|
||||
It is setup to index the following folders:{" "}
|
||||
<div className="mx-2">
|
||||
|
Reference in New Issue
Block a user