fixed reactive editing of tasks

This commit is contained in:
2025-07-07 17:54:42 +02:00
parent 7b2ccd47f4
commit 91e0bf315d
3 changed files with 18 additions and 1 deletions

View File

@@ -56,6 +56,15 @@ export class Task {
this
)
}
updateWithOtherTask(otherTask: Task) {
this.title = otherTask.title
this.description = otherTask.description
this.done = otherTask.done
this.estimated_time = otherTask.estimated_time
this.due_date = otherTask.due_date
this.scheduled_at = otherTask.scheduled_at
}
}
export type SimpleTask = {