Fix transaction list loading
This commit is contained in:
parent
d2b2c951a7
commit
c139a3d33a
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
});
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<app-transaction-list [budgetIds]="budgetId" [categoryIds]="categoryId"></app-transaction-list>
|
||||
<app-transaction-list [budgetIds]="[budgetId]" [categoryIds]="categoryId"></app-transaction-list>
|
||||
<a mat-fab routerLink="/transactions/new" [queryParams]="{budgetId: budgetId}">
|
||||
<mat-icon aria-label="Add">add</mat-icon>
|
||||
</a>
|
Loading…
Reference in a new issue