Fix budget deletion not working
This commit is contained in:
parent
2a7fa456e4
commit
271bd20707
1 changed files with 4 additions and 2 deletions
|
@ -47,8 +47,10 @@ export class AddEditBudgetComponent {
|
|||
|
||||
delete(): void {
|
||||
this.isLoading = true;
|
||||
this.twigsService.deleteBudget(this.budget.id);
|
||||
this.app.goBack();
|
||||
this.twigsService.deleteBudget(this.budget.id)
|
||||
.subscribe(() => {
|
||||
this.app.goBack();
|
||||
});
|
||||
}
|
||||
|
||||
// TODO: Implement a search box with suggestions to add users
|
||||
|
|
Loading…
Reference in a new issue