update task functionality
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user