1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

Populate selected tables

This commit is contained in:
Adria Navarro 2023-06-30 11:43:51 +01:00
parent fea218a62f
commit d655e6cbe5

View file

@ -10,7 +10,7 @@ export const createTableSelectionStore = (integration, datasource) => {
datasources.getTableNames(datasource).then(tableNames => {
tableNamesStore.set(tableNames)
selectedTableNamesStore.set(tableNames)
selectedTableNamesStore.set(tableNames.filter(t => datasource.entities[t]))
loadingStore.set(false)
})