You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: