{#each groups as group (group.id)}

{group.label}

    {#each group.items as item (item.href)}
  • 0 ? `${item.label}, ${attention[item.href]} ${attention[item.href] === 1 ? 'needs' : 'need'} attention` : undefined} onclick={() => onNavigate?.()} > {item.label} {#if attention && attention[item.href] > 0}{attention[item.href]}{/if}
  • {/each}
{/each}