 
     @setState { threads : threads, noResultText : threads.size is 0}
 
-    kd.utils.wait 1000, ->
-      isSearching = no
+    kd.utils.wait 1000, =>
+      @setState isSearching: no
 
 
   search: (event) ->

    super

    @state =
      value: ''
      noResultText: no
      threads: @props.sidebarModalChannels.followed


  onThresholdReached: ->

    return  if isSearching

    { channel } = ActivityFlux.actions
    loadFollowedChannels = channel[@props.onThresholdAction]

module.exports = class SidebarModalList extends React.Component

  @include [ScrollerMixin]

  @defaultProps =
    title             : ''
