From c89e807e313e95aff366c3b3c4b540cc080c9ee6 Mon Sep 17 00:00:00 2001 From: Peter Clement Date: Tue, 23 Nov 2021 15:00:21 +0000 Subject: [PATCH] issue with datasource plus autogen --- .../components/design/NavigationPanel/NewScreenModal.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/builder/src/components/design/NavigationPanel/NewScreenModal.svelte b/packages/builder/src/components/design/NavigationPanel/NewScreenModal.svelte index 514dc545ac..398ff72d23 100644 --- a/packages/builder/src/components/design/NavigationPanel/NewScreenModal.svelte +++ b/packages/builder/src/components/design/NavigationPanel/NewScreenModal.svelte @@ -13,6 +13,7 @@ $: blankSelected = selectedScreens?.length === 1 $: autoSelected = selectedScreens?.length > 0 && !blankSelected let templates = getTemplates($store, $tables.list) + console.log($tables.list) const toggleScreenSelection = table => { if (selectedScreens.find(s => s.name.includes(table.name))) { selectedScreens = selectedScreens.filter( @@ -60,7 +61,7 @@ Autogenerated Screens - {#each $tables.list.filter(table => table.type !== "external" && table._id !== "ta_users") as table} + {#each $tables.list.filter(table => table._id !== "ta_users") as table}
x.name.includes(table.name))}