Skip to content

Commit

Permalink
fix(searchtooltip): Update variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
daordonez11 committed Jun 29, 2023
1 parent 619394d commit 438a95f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libs/ReportUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -712,10 +712,10 @@ function getIconsForParticipants(participants, personalDetails) {
* @param {*} [defaultIcon]
* @param {Boolean} [isPayer]
* @param {String} [defaultName]
* @param {Number} [defaultID]
* @param {Number} [defaultAccountID]
* @returns {Array<*>}
*/
function getIcons(report, personalDetails, defaultIcon = null, isPayer = false, defaultName = '', defaultID = undefined) {
function getIcons(report, personalDetails, defaultIcon = null, isPayer = false, defaultName = '', defaultAccountID = undefined) {
const result = {
source: '',
type: CONST.ICON_TYPE_AVATAR,
Expand All @@ -725,7 +725,7 @@ function getIcons(report, personalDetails, defaultIcon = null, isPayer = false,
if (_.isEmpty(report)) {
result.source = defaultIcon || Expensicons.FallbackAvatar;
result.name = defaultName || '';
result.id = defaultID;
result.id = defaultAccountID;
return [result];
}
if (isArchivedRoom(report)) {
Expand Down

0 comments on commit 438a95f

Please sign in to comment.