Add delete task functionality (#72)

closes #62

Reviewed-on: #72
This commit was merged in pull request #72.
This commit is contained in:
2025-05-19 09:43:11 +02:00
parent 5bcbde46ea
commit 93ec3cbc19
5 changed files with 30 additions and 3 deletions

View File

@@ -72,4 +72,9 @@ export class EditTaskPage implements OnInit {
this.router.navigate(['/tabs/tasks']);
}
deleteTask() {
this.taskService.deleteTask(this.id);
this.router.navigate(['/tabs/tasks']);
}
}