 
     @state =
       value             : ''
-      noResultText      : no
+      showNoResultText  : no
       isSearching       : no
       threads           : @props.threads
 


    threads = @props.threads
    @setState threads: threads
    @setState noResultText: no  if threads.size


  filter: kd.utils.debounce 800, ->

      searchProp = thread.getIn(['channel', @props.searchProp]).toLowerCase()
      return yes  if searchProp.indexOf(value) > -1

    @setState
      threads : threads,
      showNoResultText : threads.size is 0

    kd.utils.wait 1000, =>
      @setState isSearching: no
