Skip to content

Commit

Permalink
update getBankAccountFields
Browse files Browse the repository at this point in the history
  • Loading branch information
luacmartins committed Sep 28, 2022
1 parent 02b211e commit 012b438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReimbursementAccountUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function getDefaultStateForField(props, fieldName, defaultValue = '') {
*/
function getBankAccountFields(props, fieldNames) {
return {
..._.pick(props.achData, ...fieldNames),
..._.pick(lodashGet(props, 'reimbursementAccount.achData'), ...fieldNames),
..._.pick(props.reimbursementAccountDraft, ...fieldNames),
};
}
Expand Down

0 comments on commit 012b438

Please sign in to comment.