issue with datasource plus autogen

This commit is contained in:
Peter Clement 2021-11-23 15:00:21 +00:00
parent 616c6538f4
commit 851bbdf07d
1 changed files with 2 additions and 1 deletions

View File

@ -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 @@
</div>
<Detail size="S">Autogenerated Screens</Detail>
{#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}
<div
class:disabled={blankSelected}
class:selected={selectedScreens.find(x => x.name.includes(table.name))}