{$i18n.t('Statuses')}
{#each draft as item (item.id)}
{ if (event.dataTransfer) event.dataTransfer.effectAllowed = 'move'; }} on:dragover|preventDefault={() => reorder(item.id)} on:dragend={() => (dragId = '')} > (dragId = item.id)} on:pointerup={() => (dragId = '')} > {#if item.id === NO_STATUS} {item.name} {$i18n.t('Default')} {:else}
{$i18n.t('Icon')}
{#each statusGlyphs as glyph} {/each}
{$i18n.t('Color')}
{#each tagColors as color} {/each}

update(item.id, { icon: icon ?? undefined })} >
update(item.id, { name: event.currentTarget.value })} /> {/if}
{/each} {#if suggestions.length}
{$i18n.t('Suggestions')}
{#each suggestions as item (item.name)} {/each} {/if}

{$i18n.t('Chats in a deleted status go back to “No status”.')}