Populate selected tables
This commit is contained in:
parent
fea218a62f
commit
d655e6cbe5
|
@ -10,7 +10,7 @@ export const createTableSelectionStore = (integration, datasource) => {
|
||||||
|
|
||||||
datasources.getTableNames(datasource).then(tableNames => {
|
datasources.getTableNames(datasource).then(tableNames => {
|
||||||
tableNamesStore.set(tableNames)
|
tableNamesStore.set(tableNames)
|
||||||
selectedTableNamesStore.set(tableNames)
|
selectedTableNamesStore.set(tableNames.filter(t => datasource.entities[t]))
|
||||||
loadingStore.set(false)
|
loadingStore.set(false)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue