Skip to content

Commit

Permalink
Merge pull request #5749 from Expensify/ionatan_outputcurrency
Browse files Browse the repository at this point in the history
Fix output currency
  • Loading branch information
tgolen authored Oct 11, 2021
2 parents e484a75 + 0b8b878 commit da2760b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/actions/Policy.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function getSimplifiedEmployeeList(employeeList) {
* @param {String} fullPolicy.name
* @param {String} fullPolicy.role
* @param {String} fullPolicy.type
* @param {String} fullPolicy.value.outputCurrency
* @param {String} fullPolicy.outputCurrency
* @param {Object} fullPolicy.value.employeeList
* @param {String} [fullPolicy.value.avatarURL]
* @returns {Object}
Expand All @@ -57,7 +57,7 @@ function getSimplifiedPolicyObject(fullPolicy) {
name: fullPolicy.name,
role: fullPolicy.role,
type: fullPolicy.type,
outputCurrency: lodashGet(fullPolicy, 'value.outputCurrency', ''),
outputCurrency: fullPolicy.outputCurrency,
employeeList: getSimplifiedEmployeeList(lodashGet(fullPolicy, 'value.employeeList')),
avatarURL: lodashGet(fullPolicy, 'value.avatarURL', ''),
};
Expand Down

0 comments on commit da2760b

Please sign in to comment.