Fix search suggestions using old-style store

This commit is contained in:
Ben Gotow 2016-01-11 16:26:41 -08:00
parent 15839186a6
commit df124e1472

View file

@ -25,7 +25,7 @@ SearchSuggestionStore = Reflux.createStore
@listenTo SearchActions.queryChanged, @_onQueryChanged
@listenTo SearchActions.searchBlurred, @_onSearchBlurred
_onPerspectiveChanged: =>
_onPerspectiveChanged: ->
@_query = FocusedPerspectiveStore.current()?.searchQuery ? ""
@trigger()