Skip to content

Commit

Permalink
Merge pull request #27300 from Expensify/revert-26638-fix/26121-remov…
Browse files Browse the repository at this point in the history
…e-domain-name

Revert "26121-remove-domain-name"
  • Loading branch information
youssef-lr authored Sep 12, 2023
2 parents 7be4a0b + 1c04c9b commit 85f950a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/libs/PersonalDetailsUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import _ from 'underscore';
import ONYXKEYS from '../ONYXKEYS';
import * as Localize from './Localize';
import * as UserUtils from './UserUtils';
import * as LocalePhoneNumber from './LocalePhoneNumber';

let personalDetails = [];
let allPersonalDetails = {};
Expand Down Expand Up @@ -116,7 +115,7 @@ function getNewPersonalDetailsOnyxData(logins, accountIDs) {
login,
accountID,
avatar: UserUtils.getDefaultAvatarURL(accountID),
displayName: LocalePhoneNumber.formatPhoneNumber(login),
displayName: login,
};

/**
Expand Down
8 changes: 4 additions & 4 deletions src/libs/actions/IOU.js
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,8 @@ function getMoneyRequestInformation(
[payerAccountID]: {
accountID: payerAccountID,
avatar: UserUtils.getDefaultAvatarURL(payerAccountID),
displayName: participant.displayName || participant.login,
login: payerEmail,
displayName: participant.displayName || payerEmail,
login: participant.login,
},
}
: undefined;
Expand Down Expand Up @@ -891,8 +891,8 @@ function createSplitsAndOnyxData(participants, currentUserLogin, currentUserAcco
[accountID]: {
accountID,
avatar: UserUtils.getDefaultAvatarURL(accountID),
displayName: participant.displayName || participant.login,
login: email,
displayName: participant.displayName || email,
login: participant.login,
},
}
: undefined;
Expand Down

0 comments on commit 85f950a

Please sign in to comment.