{#each tabs as tab (tab.id)} {#if !tab.manageOnly || canManage} {tab.label} {/if} {/each}