working on custom states for projects

This commit is contained in:
2025-07-31 17:21:09 +02:00
parent b8b93fe925
commit 956085c7d3
10 changed files with 34 additions and 19 deletions

View File

@@ -142,7 +142,7 @@
<tr>
<th>{t('state')}</th>
<td>
<StateSelector selected={project.status.code} onchange={val => update({status:val})} project_id={id} />
<StateSelector selected={project.status} onchange={val => update({status:val})} project_id={id} />
</td>
</tr>
{#if project.company}
@@ -205,7 +205,7 @@
</th>
<td class="tasks">
{#if tasks}
<TaskList {tasks} {estimated_time} show_closed={project.show_closed} />
<TaskList {tasks} {estimated_time} states={project.allowed_states} show_closed={project.show_closed} />
{/if}
</td>
</tr>