1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-07-03 13:12:14 +02:00

🐛 fixes #38

This commit is contained in:
2025-03-15 21:05:57 +01:00
parent 44c28f1bd2
commit df8095e1cb
7 changed files with 38 additions and 39 deletions

View File

@ -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('');