Browse Source

Display FTS warning based on actual search term, not the one being typed (#11202)

Follow-up to #11112
pull/4/head
ThibG 4 years ago
committed by Eugen Rochko
parent
commit
4f5b221be2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/features/compose/containers/search_results_container.js

+ 1
- 1
app/javascript/mastodon/features/compose/containers/search_results_container.js View File

@ -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 => ({

Loading…
Cancel
Save