issue with datasource plus autogen
This commit is contained in:
parent
616c6538f4
commit
851bbdf07d
|
@ -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))}
|
||||
|
|
Loading…
Reference in New Issue