{#each tabs as tab (tab.id)} {#if tab.id === null}
folders.select(tab.id)} type="button"> {tab.title}
{:else}
{#snippet children({ props, })}
folders.select(tab.id)} type="button" > {tab.title}
{/snippet} {#snippet menu()}
editPolicy(tab)}> Политика захвата
{/snippet}
{/if} {/each}
{#each tabs as tab (tab.id)}
{tab.title}
{/each}