diff options
author | ThibG <thib@sitedethib.com> | 2019-06-28 19:29:11 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-06-28 19:29:11 +0200 |
commit | 4f5b221be21e62257c16e47e998cdf757991f871 (patch) | |
tree | ec6f730b8fd691e8a3d45d844e86ec2487dd349e /app/javascript | |
parent | e64e6a03dd1e0978fee48f0596dcfbc7fd29958f (diff) |
Display FTS warning based on actual search term, not the one being typed (#11202)
Follow-up to #11112
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/mastodon/features/compose/containers/search_results_container.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/compose/containers/search_results_container.js b/app/javascript/mastodon/features/compose/containers/search_results_container.js index 623c52881..e4d5f3420 100644 --- a/app/javascript/mastodon/features/compose/containers/search_results_container.js +++ b/app/javascript/mastodon/features/compose/containers/search_results_container.js @@ -5,7 +5,7 @@ import { fetchSuggestions, dismissSuggestion } from '../../../actions/suggestion const mapStateToProps = state => ({ results: state.getIn(['search', 'results']), suggestions: state.getIn(['suggestions', 'items']), - searchTerm: state.getIn(['search', 'value']), + searchTerm: state.getIn(['search', 'searchTerm']), }); const mapDispatchToProps = dispatch => ({ |