From d655e6cbe54ae642de3b89923054980ef635758e Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Fri, 30 Jun 2023 11:43:51 +0100 Subject: [PATCH] Populate selected tables --- .../Datasources/TableImportSelection/tableSelectionStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/components/backend/Datasources/TableImportSelection/tableSelectionStore.js b/packages/builder/src/components/backend/Datasources/TableImportSelection/tableSelectionStore.js index a361618897..46238e333c 100644 --- a/packages/builder/src/components/backend/Datasources/TableImportSelection/tableSelectionStore.js +++ b/packages/builder/src/components/backend/Datasources/TableImportSelection/tableSelectionStore.js @@ -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) })