Skip to content

Commit

Permalink
Default to true to make type happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Beamanator committed Nov 1, 2023
1 parent e108378 commit 2723573
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/ReportUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,7 @@ function getDisplayNameForParticipant(accountID, shouldUseShortForm = false, sho
* @param {Boolean} shouldFallbackToHidden
* @returns {Array}
*/
function getDisplayNamesWithTooltips(personalDetailsList, isMultipleParticipantReport, shouldFallbackToHidden) {
function getDisplayNamesWithTooltips(personalDetailsList, isMultipleParticipantReport, shouldFallbackToHidden = true) {
return _.chain(personalDetailsList)
.map((user) => {
const accountID = Number(user.accountID);
Expand Down Expand Up @@ -1428,7 +1428,7 @@ function requiresAttentionFromCurrentUser(option, parentReportAction = {}) {

// Has a child report that is awaiting action (e.g. approve, pay, add bank account) from current user
if (option.hasOutstandingChildRequest) {
return true;
return true;
}

return false;
Expand Down

0 comments on commit 2723573

Please sign in to comment.