Skip to content

Commit 5d8971e

Browse files
ClearlyClaireGargron
authored andcommitted
Display FTS warning based on actual search term, not the one being typed (mastodon#11202)
Follow-up to mastodon#11112
1 parent a672b35 commit 5d8971e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/javascript/mastodon/features/compose/containers/search_results_container.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { fetchSuggestions, dismissSuggestion } from '../../../actions/suggestion
55
const mapStateToProps = state => ({
66
results: state.getIn(['search', 'results']),
77
suggestions: state.getIn(['suggestions', 'items']),
8-
searchTerm: state.getIn(['search', 'value']),
8+
searchTerm: state.getIn(['search', 'searchTerm']),
99
});
1010

1111
const mapDispatchToProps = dispatch => ({

0 commit comments

Comments
 (0)