update task functionality

This commit is contained in:
2025-05-18 16:34:49 +02:00
parent 1f21924805
commit 6e07d44733
4 changed files with 14 additions and 4 deletions

View File

@@ -36,4 +36,8 @@ export class TasksPage implements ViewWillEnter {
createTask() {
this.router.navigate(['add'], { relativeTo: this.route });
}
updateTask(id: number) {
this.router.navigate(['edit', id], { relativeTo: this.route });
}
}