{#if labels && labels.length > 0} {#if compact}
{#each labels as label} {@const colors = getLabelColors(label)}
{label}
{/each}
{:else if unified}
{#each labels as label} {@const colors = getLabelColors(label)}
{label}
{/each}
{:else}
{#each labels as label} {@const colors = getLabelColors(label)}
{label}
{/each}
{/if} {/if}