x.name.includes(table.name))}
- on:click={() => toggleScreenSelection(table)}
class="item"
+ class:selected={selectedScreens.find(x => x.id.includes(blankScreen))}
+ on:click={() =>
+ toggleScreenSelection(templates.find(t => t.id === blankScreen))}
+ class:disabled={autoSelected}
>
-
- {table.name}
+
- {#if selectedScreens.find(x => x.name.includes(table.name))}
-
+ {#if selectedScreens.find(x => x.id === blankScreen)}
+
+
+
{/if}
+
+ {#each $tables.list.filter(table => table._id !== "ta_users") as table}
+