{#if items.length || error} waiting {total} {#if total > 1}clear all{/if} {#if error}couldn't update the queue · {error}{/if} {#if items.length} {#each items as item, index (item.id)} (dragging = item.id)} ondragover={(event) => event.preventDefault()} ondrop={() => reorder(item.id)} ondragend={() => (dragging = null)} > {item.from || item.source} {#if transcript.own(item.id)} transcript.beginEdit(item.id)} >{preview(item)}{#if item.text_truncated}…{/if}{:else}{preview(item)}{#if item.text_truncated}…{/if}{/if} {#if item.images.length || item.files.length}{attached(item)}{/if} {transcript.editing?.id === item.id ? 'editing' : delivery(item)} {#if transcript.own(item.id)} transcript.beginEdit(item.id)} >{/if} act(item.id, () => moveQueuedFirst(sessionId, item.id))} > transcript.own(item.id) ? unsend(item.id) : act(item.id, () => dropQueued(sessionId, item.id), [ item.id, ])} > {#if item.last_error}couldn't deliver: {item.last_error}{/if} {/each} {/if} {/if}
couldn't update the queue · {error}