Skip to content

Commit

Permalink
fix tooltip in invite members
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmiroslav committed Jul 10, 2023
1 parent 41131aa commit d64df72
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 @@ -804,13 +804,13 @@ function getWorkspaceIcon(report) {
* @param {Number} [defaultAccountID]
* @returns {Array<*>}
*/
function getIcons(report, personalDetails, defaultIcon = null, isPayer = false) {
function getIcons(report, personalDetails, defaultIcon = null, isPayer = false, defaultName = '', defaultAccountID = -1) {
if (_.isEmpty(report)) {
const fallbackIcon = {
source: defaultIcon || Expensicons.FallbackAvatar,
type: CONST.ICON_TYPE_AVATAR,
name: '',
id: -1,
name: defaultName,
id: defaultAccountID,
};
return [fallbackIcon];
}
Expand Down

0 comments on commit d64df72

Please sign in to comment.