add way of removing a goal (#88)
All checks were successful
Backend Deploy / build (push) Successful in 34s
Backend Build and Test / build (push) Successful in 3m5s

closes #66

Reviewed-on: #88
This commit was merged in pull request #88.
This commit is contained in:
2025-05-26 10:04:57 +02:00
parent e7b4adfa95
commit 63982115a7
4 changed files with 21 additions and 0 deletions

View File

@@ -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]);
}
}