Skip to content

Commit

Permalink
Fix: allow selecting for bigquery in AB (#10599)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraggle authored Feb 6, 2025
1 parent 0061717 commit 465e6fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/lib/data_sources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ const STRUCTURED_DATA_SOURCES: ConnectorProvider[] = [
"google_drive",
"notion",
"microsoft",
"snowflake",
];

export function supportsDocumentsData(ds: DataSource): boolean {
Expand All @@ -94,6 +93,7 @@ export function supportsDocumentsData(ds: DataSource): boolean {
export function supportsStructuredData(ds: DataSource): boolean {
return Boolean(
isFolder(ds) ||
isRemoteDatabase(ds) ||
(ds.connectorProvider &&
STRUCTURED_DATA_SOURCES.includes(ds.connectorProvider))
);
Expand Down

0 comments on commit 465e6fe

Please sign in to comment.