From c139a3d33a184a0b035717b6496879364ba3127e Mon Sep 17 00:00:00 2001 From: William Brawner Date: Mon, 15 Feb 2021 21:26:58 -0700 Subject: [PATCH] Fix transaction list loading --- .../transactions/transaction-list/transaction-list.component.ts | 2 +- src/app/transactions/transactions.component.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/transactions/transaction-list/transaction-list.component.ts b/src/app/transactions/transaction-list/transaction-list.component.ts index 82a5e8d..11fc365 100644 --- a/src/app/transactions/transaction-list/transaction-list.component.ts +++ b/src/app/transactions/transaction-list/transaction-list.component.ts @@ -52,7 +52,7 @@ export class TransactionListComponent implements OnInit { } } - this.twigsService.getTransactions(this.budgetIds.join(','), this.categoryIds.join(','), null, from, to).subscribe(transactions => { + this.twigsService.getTransactions(this.budgetIds.join(','), this.categoryIds?.join(','), null, from, to).subscribe(transactions => { this.transactions = transactions; }); } diff --git a/src/app/transactions/transactions.component.html b/src/app/transactions/transactions.component.html index a328b51..8ba149c 100644 --- a/src/app/transactions/transactions.component.html +++ b/src/app/transactions/transactions.component.html @@ -1,4 +1,4 @@ - + add \ No newline at end of file