diff options
author | ThibG <thib@sitedethib.com> | 2019-06-28 19:29:11 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-08-06 21:52:00 +0200 |
commit | 5b3d70ffa749806976710488ea78e5d01b1b2466 (patch) | |
tree | c598989eed6c4358d4e8e7b6040ec08beaec8ba4 | |
parent | 011909262aeacb64e5e12ef890eaa629f85b6d83 (diff) |
Display FTS warning based on actual search term, not the one being typed (#11202)
Follow-up to #11112
-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 623c528813f..e4d5f342078 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 => ({ |