Hi everyone, I’m relatively new to ionic and I need help on this. Any replies would be greatly appreciated ! Thanks
- I have stored data in my firebase and would like to retrieve them by their respective id and display it
- The service (loan.service.ts) is already done and i just need to pass it in to my typescript (details.page.ts) but i don’t know how to.
-loan.service.ts
-details.page.ts
(i tried using
this.loanService.getLoanById(this.loanId).then(data => {
this.loan = data;
but it the page does not load and the items that were stored in the sub-collection is not shown)
1 post - 1 participant