re-arrenged components

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-07-27 12:04:54 +02:00
parent 2ce9ebbc6d
commit e6516f3b8d
8 changed files with 25 additions and 16 deletions

View File

@@ -0,0 +1,14 @@
<script>
import { t } from '../../translations.svelte.js';
import ListTask from './ListTask.svelte';
let { estimated_time, show_closed, tasks } = $props();
let sortedTasks = $derived.by(() => Object.values(tasks).sort((a, b) => a.name.localeCompare(b.name)));
</script>
<ul>
{#each sortedTasks as task}
<ListTask {task} {estimated_time} show_closed={show_closed || task.show_closed} />
{/each}
</ul>