Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getBudgetMap(budgetMonthID){
- this.rows = [];
- this.categoryService.getCategory(budgetMonthID).subscribe(category =>{
- this.categoryList = category;
- this.categoryList.forEach(category => {
- this.transactionService.getTransaction(budgetMonthID, category.id).subscribe(transaction => {
- this.rows = this.rows.concat(transaction);
- })
- })
- )
- }
Add Comment
Please, Sign In to add comment