Skip to content

Commit

Permalink
Merge pull request #6591 from uktrade/fix/convert-export-project-to-e…
Browse files Browse the repository at this point in the history
…xport-win

Fixes a bug that prevents the export win from being saved
  • Loading branch information
paulgain authored Mar 11, 2024
2 parents fd6d02c + 94c8dfd commit 892f284
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/client/modules/ExportWins/Form/transformers.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ export const transformExportProjectForForm = (exportProject) => {
// Customer details
// The exporter experience field is optional when adding an Export Project
...(exportProject.exporter_experience && {
export_experience: [
idNameToValueLabel(exportProject.exporter_experience),
],
export_experience: idNameToValueLabel(exportProject.exporter_experience),
}),
company_contacts:
exportProject.contacts.length === 1
Expand Down

0 comments on commit 892f284

Please sign in to comment.