{#if types.length || $entity?.attr['~IN']?.length} {$i18n.t('Type Attributes')} {#if adding}
{ if (!ev.detail) adding = false; }} />
{/if}
{#each types as type}
remove(type.entry)} />
{:else}
{$i18n.t('No attributes assigned to this type.')}
{/each}
(adding = true)} />
{/if}