Skip to content

Commit

Permalink
Merge pull request #19880 from dukenv0307/fix/19645
Browse files Browse the repository at this point in the history
fix: Lower case searchvalue before cheking
  • Loading branch information
madmax330 authored Jun 2, 2023
2 parents 37644c5 + ab7b437 commit d8b1d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ReportActionCompose.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ class ReportActionCompose extends React.Component {
getMentionOptions(personalDetails, searchValue = '') {
const suggestions = [];

if (CONST.AUTO_COMPLETE_SUGGESTER.HERE_TEXT.includes(searchValue)) {
if (CONST.AUTO_COMPLETE_SUGGESTER.HERE_TEXT.includes(searchValue.toLowerCase())) {
suggestions.push({
text: CONST.AUTO_COMPLETE_SUGGESTER.HERE_TEXT,
alternateText: this.props.translate('mentionSuggestions.hereAlternateText'),
Expand Down

0 comments on commit d8b1d84

Please sign in to comment.