Closed
Description
I have just migrated to angularfire2 5.0.0-rc.2.
Before I had this :
const searchHashtag = this.searchHashtag(hashtag);
const subscribe = searchHashtag.subscribe(snapshots=>{ if(snapshots.length > 0){ .... }else{ .... }
and now i replace it by this:
const searchHashtag = this.searchHashtag(hashtag);
const subscribe = searchHashtag.snapshotChanges().subscribe(snapshots=>{ if(snapshots.length > 0){ .... }else{ .... }
But when the searchHashtag return no results, the subscribe are no trigger.
How i can fix it ?
thx
Metadata
Metadata
Assignees
Labels
No labels