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