{#if persons.length > 0}
{#each persons as ctx, i (ctx.id)} {@const subType = ((ctx.meta as PersonMeta | null)?.personSubType ?? 'contact') as PersonSubType}
{/each}
{:else}
Keine Personen vorhanden.
{/if} {#if confirmDeleteId} confirmDeleteId = null} /> {/if}