added abort button to overlayed task creation form

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-02-03 12:09:21 +01:00
parent 1686fc81b2
commit 4f1b786ae9
2 changed files with 5 additions and 3 deletions

View File

@@ -275,7 +275,7 @@
{#if project}
{#if task_form}
<div class="overlay">
<TaskForm project_id={task_form.project_id} assignee={task_form.assignee} state_id={task_form.state_id} />
<TaskForm assignee={task_form.assignee} on_abort={ev => {task_form = false;}} project_id={task_form.project_id} state_id={task_form.state_id} />
</div>
{/if} <!-- task form -->