summaryrefslogtreecommitdiffstats
path: root/webapp/components/suggestion/search_channel_provider.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/suggestion/search_channel_provider.jsx')
-rw-r--r--webapp/components/suggestion/search_channel_provider.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/suggestion/search_channel_provider.jsx b/webapp/components/suggestion/search_channel_provider.jsx
index 2b8005204..2e60d579f 100644
--- a/webapp/components/suggestion/search_channel_provider.jsx
+++ b/webapp/components/suggestion/search_channel_provider.jsx
@@ -11,7 +11,7 @@ import Suggestion from './suggestion.jsx';
class SearchChannelSuggestion extends Suggestion {
render() {
- const {item, isSelection, onClick} = this.props;
+ const {item, isSelection} = this.props;
let className = 'search-autocomplete__item';
if (isSelection) {
@@ -20,7 +20,7 @@ class SearchChannelSuggestion extends Suggestion {
return (
<div
- onClick={onClick}
+ onClick={this.handleClick}
className={className}
>
<i className='fa fa fa-plus-square'></i>{item.name}