{ if (isNew) { identifier = name.toLocaleUpperCase().replaceAll('-', '_').replaceAll(' ', '_').substring(0, 5) color = isColorSelected ? color : getColorNumberByText(name) } }} />
{#if !isSaving && projectsIdentifiers.has(identifier.toUpperCase())}
{/if}
{#if typeId !== undefined} {/if}
{#each roles as role}
{ handleRoleAssignmentChanged(role._id, refs) }} kind={'regular'} size={'large'} />
{/each}