Fix for search bar issue with threads not appearing

This commit is contained in:
Ben Gotow 2016-01-25 13:47:41 -08:00
parent c6bf3eba01
commit 8c38b1bce8

View file

@ -96,9 +96,10 @@ class SearchSuggestionStore extends NylasStore
@_compileResults() @_compileResults()
# We're behind and need to re-run the search for the latest results # We're behind and need to re-run the search for the latest results
else if @_searchSuggestionsVersion > @_fetchingThreadResultsVersion else if @_searchSuggestionsVersion > @_fetchingThreadResultsVersion
@_fetchingThreadResultsVersion = null
@_fetchThreadResults() @_fetchThreadResults()
else
@_fetchingThreadResultsVersion = null @_fetchingThreadResultsVersion = null
_compileResults: => _compileResults: =>
@_suggestions = [] @_suggestions = []