🐛 fixes #38

This commit is contained in:
jaandrle committed 2025-03-15 21:05:57 +01:00
1 parent 44c28f1bd2
commit df8095e1cb
7 files changed
+38 -39

No files matched your search

@@ -58,9 +58,6 @@ export function TaskManager() {
update(id, task) {
const current= this.value.find(t => t.id === id);
if (current) Object.assign(current, task);
// TODO: known bug for derived signals (the object is the same)
// so filteredTasks is not updated, hotfix ↙
this.value = structuredClone(this.value);
}
});
const newTaskTitle = S('');