Skip to content

Commit

Permalink
Revert "Merge branch 'main' of https://github.com/uktrade/data-hub-fr…
Browse files Browse the repository at this point in the history
…ontend"

This reverts commit b1ede76, reversing
changes made to aa645bd.
  • Loading branch information
bau123 committed Jan 31, 2024
1 parent b1ede76 commit 41b6494
Show file tree
Hide file tree
Showing 6 changed files with 392 additions and 397 deletions.
134 changes: 63 additions & 71 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"@sentry/node": "^7.91.0",
"@sentry/react": "^7.91.0",
"@sentry/tracing": "^7.91.0",
"autoprefixer": "^10.4.17",
"autoprefixer": "^10.4.16",
"axios": "^1.6.0",
"basic-auth": "^2.0.1",
"body-parser": "^1.20.2",
Expand All @@ -91,7 +91,7 @@
"constate": "^3.3.0",
"cookie-parser": "^1.4.6",
"core-js": "^3.35.0",
"css-loader": "^6.9.1",
"css-loader": "^6.8.1",
"csurf": "^1.11.0",
"date-fns": "^2.30.0",
"del-cli": "^5.0.0",
Expand Down Expand Up @@ -122,7 +122,7 @@
"nunjucks-markdown": "^2.0.1",
"pluralize": "^8.0.0",
"postcss-cli": "^11.0.0",
"postcss-loader": "^8.0.0",
"postcss-loader": "^7.3.4",
"prop-types": "^15.8.1",
"pure-uuid": "^1.8.1",
"qs": "^6.11.2",
Expand Down Expand Up @@ -165,8 +165,8 @@
"@babel/preset-env": "^7.23.7",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@babel/runtime": "^7.23.9",
"@cypress/code-coverage": "^3.12.19",
"@babel/runtime": "^7.23.2",
"@cypress/code-coverage": "^3.12.17",
"@faker-js/faker": "^8.3.1",
"@storybook/addon-a11y": "^7.6.7",
"@storybook/addon-essentials": "^7.6.7",
Expand Down Expand Up @@ -194,7 +194,7 @@
"git-directory-deploy": "^1.5.1",
"html": "^1.0.0",
"http-server": "^14.1.1",
"image-minimizer-webpack-plugin": "^4.0.0",
"image-minimizer-webpack-plugin": "^3.8.3",
"imagemin": "^8.0.1",
"imagemin-gifsicle": "^7.0.0",
"imagemin-jpegtran": "^7.0.0",
Expand All @@ -203,7 +203,7 @@
"js-beautify": "^1.14.11",
"jsdom": "^20.0.3",
"jsdom-global": "^3.0.2",
"json-schema-faker": "^0.5.5",
"json-schema-faker": "^0.5.4",
"lint-staged": "^15.2.0",
"mocha": "^10.2.0",
"mocha-junit-reporter": "^2.2.1",
Expand Down
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 @@ -174,9 +174,7 @@ 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
? values.team_members.map((member) => member.value)
: [],
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 41b6494

Please sign in to comment.