Skip to content

Commit

Permalink
add toLowerCase
Browse files Browse the repository at this point in the history
  • Loading branch information
dukenv0307 committed Oct 3, 2023
1 parent d860aea commit 47d2ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/OptionsListUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,7 @@ function getOptions(
const noOptions = recentReportOptions.length + personalDetailsOptions.length === 0 && !currentUserOption;
const noOptionsMatchExactly = !_.find(
personalDetailsOptions.concat(recentReportOptions),
(option) => option.login === addSMSDomainIfPhoneNumber(searchValue).toLowerCase() || option.login === searchValue,
(option) => option.login === addSMSDomainIfPhoneNumber(searchValue).toLowerCase() || option.login === searchValue.toLowerCase(),
);

if (
Expand Down

0 comments on commit 47d2ece

Please sign in to comment.