Fix budget details title

Signed-off-by: William Brawner <me@wbrawner.com>
This commit is contained in:
William Brawner 2020-07-02 17:07:12 +00:00
parent 49b4c814b9
commit f880c108dc

View file

@ -47,7 +47,7 @@ export class BudgetDetailsComponent implements OnInit {
const id = Number.parseInt(this.route.snapshot.paramMap.get('id'));
this.twigsService.getBudget(id)
.subscribe(budget => {
this.app.title = Budget.name;
this.app.title = budget.name;
this.budget = budget;
this.getBalance();
this.getTransactions();