{#if tab === FrontendTypes.SCREEN}
{#if $currentAsset} {/if} {:else if tab === FrontendTypes.LAYOUT} {#each $store.layouts as layout, idx (layout._id)} 0} /> {/each} {/if}