~cytrogen/masto-fe

4f5b221be21e62257c16e47e998cdf757991f871 — ThibG 6 years ago e64e6a0
Display FTS warning based on actual search term, not the one being typed (#11202)

Follow-up to #11112
1 files changed, 1 insertions(+), 1 deletions(-)

M app/javascript/mastodon/features/compose/containers/search_results_container.js
M app/javascript/mastodon/features/compose/containers/search_results_container.js => app/javascript/mastodon/features/compose/containers/search_results_container.js +1 -1
@@ 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 => ({