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