{#each model as tab, i}
{ selected = i }} > {#if tab.icon !== undefined}
{/if} {#if tab.label !== ''}
{/each}