diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-10-09 12:28:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-09 12:28:59 +0200 |
commit | 2b00ccdbd555f9391aa87778f8b41eedcb7f8a04 (patch) | |
tree | cf41414705a68e3a9262ba304110853627070a23 /app | |
parent | f41ec9af05d3e2145e62f705225dbabb7e04e242 (diff) |
Fix button to dismiss suggestions not showing up in search results (#19325)
Fix a typo. The scope of this fix is pretty minor as that view only ever shows up in one corner case, now.
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/mastodon/features/compose/components/search_results.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/compose/components/search_results.js b/app/javascript/mastodon/features/compose/components/search_results.js index e2493a6c6..44ab43638 100644 --- a/app/javascript/mastodon/features/compose/components/search_results.js +++ b/app/javascript/mastodon/features/compose/components/search_results.js @@ -61,8 +61,8 @@ class SearchResults extends ImmutablePureComponent { <AccountContainer key={suggestion.get('account')} id={suggestion.get('account')} - actionIcon={suggestion.get('source') === 'past_interaction' ? 'times' : null} - actionTitle={suggestion.get('source') === 'past_interaction' ? intl.formatMessage(messages.dismissSuggestion) : null} + actionIcon={suggestion.get('source') === 'past_interactions' ? 'times' : null} + actionTitle={suggestion.get('source') === 'past_interactions' ? intl.formatMessage(messages.dismissSuggestion) : null} onActionClick={dismissSuggestion} /> ))} |