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

(cherry picked from commit da2760b)
  • Loading branch information
tgolen authored and OSBotify committed Oct 11, 2021
1 parent 960be8f commit 53c0ae9
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 @@ -30,7 +30,7 @@ Onyx.connect({
* @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 @@ -41,7 +41,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 53c0ae9

Please sign in to comment.