Skip to content

Commit

Permalink
The changes were accidentally reversed (PR #6475) from the main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgain committed Feb 1, 2024
1 parent 41b6494 commit 8c4621e
Show file tree
Hide file tree
Showing 2 changed files with 266 additions and 269 deletions.
4 changes: 3 additions & 1 deletion src/client/modules/ExportWins/Form/transformers.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ export const transformFormValuesForAPI = (values) => ({
lead_officer: values.lead_officer.value,
team_type: values.team_type.value,
hq_team: values.hq_team.value,
team_members: values.team_members.map((member) => member.value),
team_members: values.team_members
? values.team_members.map((member) => member.value)
: [],
// Credit for this win
advisers: transformContributingOfficersToAdvisers(values),
// Customer details
Expand Down
Loading

0 comments on commit 8c4621e

Please sign in to comment.