Guest User

Untitled

a guest
Oct 22nd, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. getBudgetMap(budgetMonthID){
  2. this.rows = [];
  3. this.categoryService.getCategory(budgetMonthID).subscribe(category =>{
  4. this.categoryList = category;
  5. this.categoryList.forEach(category => {
  6.  
  7. this.transactionService.getTransaction(budgetMonthID, category.id).subscribe(transaction => {
  8. this.rows = this.rows.concat(transaction);
  9. })
  10.  
  11. })
  12. )
  13. }
Add Comment
Please, Sign In to add comment