-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Didn't get output from Angular cloud Firestore using routerLink #2
Comments
Any suggestion? Thanks |
Hi, Not sure where to look. |
Hi @rangiesrule, did you resolve this issue? ItemsComponent.html:9 ERROR Error: InvalidPipeArgument: '[object Object],[object Object],[object Object],[object Object],[object Object]' for pipe 'AsyncPipe' Probably the error it's in the item component when the item service is called and is subscribed to getItems() inside ngOnInit() |
I don't know if this is the best way but I unsubscribed from the itemService in ngOnDestroy... so roughly this in the item component.. export class ItemsComponent implements OnInit, OnDestroy { ngOnInit() { ngOnDestroy(): void { After doing this the data reloads on routerLink navigation... |
https://stackoverflow.com/questions/47149153/didnt-get-output-from-angular-cloud-firestore-using-routerlink
The text was updated successfully, but these errors were encountered: