No lists yet
Tap the list name above to create one
Select a list
{:else}
{#each app.pendingTasks as task (task.id)}
handleDragStart(e, task.id)}
ondragover={(e) => handleDragOver(e, task.id)}
ondragend={handleDragEnd}
ondrop={(e) => handleDrop(e, task.id)}
class="{dragId === task.id ? 'opacity-30' : ''} {dragOverId === task.id && dragId !== task.id ? 'border-t-2 border-t-primary' : ''}"
>
{/each}
{#if app.pendingTasks.length === 0}
No tasks. Add one below.
{/if}
{#if app.completedTasks.length > 0}
{#if completedVisible}
{#each app.completedTasks as task (task.id)}
{/each}
{/if}
{/if}
{/if}
{/key}