add way of removing a goal (#88)
closes #66 Reviewed-on: #88
This commit was merged in pull request #88.
This commit is contained in:
@@ -93,4 +93,9 @@ export class EditAllowancePage implements OnInit {
|
||||
|
||||
this.router.navigate(['/tabs/allowance', this.userId]);
|
||||
}
|
||||
|
||||
deleteAllowance() {
|
||||
this.allowanceService.deleteAllowance(this.goalId, this.userId);
|
||||
this.router.navigate(['/tabs/allowance', this.userId]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user