Skip to content

Commit

Permalink
[Fix] Invalid number of arguments
Browse files Browse the repository at this point in the history
[Fix] use accountID instead of login

[Fix] test

revert changes

revert changes

[Fix] Invalid number of arguments
  • Loading branch information
fedirjh committed Jun 23, 2023
1 parent 2b2f497 commit af27f77
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/libs/OptionsListUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -618,9 +618,7 @@ function getOptions(
const searchValue = parsedPhoneNumber.possible ? parsedPhoneNumber.number.e164 : searchInputValue;

// Filter out all the reports that shouldn't be displayed
const filteredReports = _.filter(reports, (report) =>
ReportUtils.shouldReportBeInOptionList(report, Navigation.getReportIDFromRoute(), false, currentUserLogin, iouReports, betas, policies),
);
const filteredReports = _.filter(reports, (report) => ReportUtils.shouldReportBeInOptionList(report, Navigation.getReportIDFromRoute(), false, iouReports, betas, policies));

// Sorting the reports works like this:
// - Order everything by the last message timestamp (descending)
Expand Down

0 comments on commit af27f77

Please sign in to comment.