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:
@ -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('');
|
||||
|
Reference in New Issue
Block a user