summaryrefslogtreecommitdiffstats
path: root/web/react/components/suggestion/search_suggestion_list.jsx
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2015-12-04 08:19:55 -0500
committerJoram Wilander <jwawilander@gmail.com>2015-12-04 08:19:55 -0500
commit84f2afe52d76e5d8ea01e9bb882275db2539751a (patch)
tree164510da11360fdae29843acb7b9d595fbe53bf6 /web/react/components/suggestion/search_suggestion_list.jsx
parentbd90802c2ca53378ed5d0190f6b0ebf3948daf5f (diff)
parentf103e4c815234fd5f451fe66e29bc17f0b20cadb (diff)
downloadchat-84f2afe52d76e5d8ea01e9bb882275db2539751a.tar.gz
chat-84f2afe52d76e5d8ea01e9bb882275db2539751a.tar.bz2
chat-84f2afe52d76e5d8ea01e9bb882275db2539751a.zip
Merge pull request #1605 from hmhealey/plt1370
PLT-1370 Changed SuggestionBox to clear its suggestions on losing focus
Diffstat (limited to 'web/react/components/suggestion/search_suggestion_list.jsx')
-rw-r--r--web/react/components/suggestion/search_suggestion_list.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/suggestion/search_suggestion_list.jsx b/web/react/components/suggestion/search_suggestion_list.jsx
index 542d28ddd..3378a33a0 100644
--- a/web/react/components/suggestion/search_suggestion_list.jsx
+++ b/web/react/components/suggestion/search_suggestion_list.jsx
@@ -35,7 +35,7 @@ export default class SearchSuggestionList extends SuggestionList {
}
render() {
- if (this.state.items.length === 0 || !this.props.show) {
+ if (this.state.items.length === 0) {
return null;
}