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"

(cherry picked from commit 85f950a)
  • Loading branch information
youssef-lr authored and OSBotify committed Sep 13, 2023
1 parent 10e621d commit 18ca5c1
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 @@ -464,8 +464,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 @@ -855,8 +855,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 18ca5c1

Please sign in to comment.