dragIndex && index === hoveringIndex}
animate:flip={{ duration: 400 }}
draggable={true}
on:click|self={(evt) => openIssue(evt, issue)}
on:dragstart={(ev) => handleDragStart(ev, index, issue)}
on:dragover|preventDefault={() => false}
on:dragenter={() => (hoveringIndex = index)}
on:drop|preventDefault={(ev) => handleDrop(ev, index)}
on:dragend={resetDrag}
>
{
dispatch('update-issue', { id: issue.id, priority: evt.detail })
issue.priority = evt.detail
}}
/>
openIssue(evt, issue)}>
{getIssueTemplateId(currentProject, issue)}
openIssue(evt, issue)}>
{issue.title}
{
dispatch('update-issue', { id: issue.id, estimation: evt.detail })
issue.estimation = evt.detail
}}
/>
{
dispatch('update-issue', { id: issue.id, assignee: evt.detail })
issue.assignee = evt.detail
}}
/>
{/each}