Fix google sheets import (#11131)
This commit is contained in:
parent
2e6a3ce047
commit
d4f2364ca4
|
@ -10,7 +10,11 @@ export const createTableSelectionStore = (integration, datasource) => {
|
|||
|
||||
datasources.getTableNames(datasource).then(tableNames => {
|
||||
tableNamesStore.set(tableNames)
|
||||
selectedTableNamesStore.set(tableNames.filter(t => datasource.entities[t]))
|
||||
|
||||
selectedTableNamesStore.set(
|
||||
tableNames.filter(tableName => datasource.entities[tableName])
|
||||
)
|
||||
|
||||
loadingStore.set(false)
|
||||
})
|
||||
|
||||
|
|
|
@ -144,8 +144,7 @@ export function createDatasourcesStore() {
|
|||
|
||||
const response = await API.createDatasource({
|
||||
datasource,
|
||||
fetchSchema:
|
||||
integration.plus && integration.name !== IntegrationTypes.GOOGLE_SHEETS,
|
||||
fetchSchema: integration.plus,
|
||||
})
|
||||
|
||||
return updateDatasource(response)
|
||||
|
|
Loading…
Reference in New Issue