improved tag handling

This commit is contained in:
2025-07-28 14:22:34 +02:00
parent 382eae000c
commit 57b68015c3
6 changed files with 29 additions and 13 deletions

View File

@@ -9,6 +9,7 @@
import MarkdownEditor from '../../Components/MarkdownEditor.svelte';
import MemberEditor from '../../Components/MemberEditor.svelte';
import StateSelector from '../../Components/StateSelector.svelte';
import Tags from '../tags/TagList.svelte';
import TaskList from '../task/TaskList.svelte';
let router = useTinyRouter();
@@ -190,6 +191,12 @@
<td class="estimated_time">{estimated_time.sum} h</td>
</tr>
{/if}
<tr>
<th>{t('tags')}</th>
<td>
<Tags module="project" {id} user_list={null} />
</td>
</tr>
<tr>
<th>
{t('tasks')}
@@ -203,4 +210,4 @@
</tr>
</tbody>
</table>
{/if}
{/if}

View File

@@ -33,6 +33,7 @@
tag = await resp.text();
tags.push(tag);
tags = tags.sort();
error = null;
} else {
error = await resp.text();
}