Skip to content

Commit

Permalink
Merge pull request #7864 from opencrvs/auto-pr-release-v1.6.0-7854-6580
Browse files Browse the repository at this point in the history
🍒 Merge changes from PR #7854 to release-v1.6.0
  • Loading branch information
tahmidrahman-dsi authored Oct 29, 2024
2 parents 477a782 + 8445d59 commit f1a0fe6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
- Only show items with values in review [#5192](https://github.com/opencrvs/opencrvs-core/pull/5192)
- Fix prefix text overlap issue in form text inputs
- **Staged files getting reset on precommit hook failure** We were running lint-staged separately on each package using lerna which potentially created a race condition causing staged changes to get lost on failure. Now we are running lint-staged directly without depending on lerna. ***This is purely a DX improvement without affecting any functionality of the system***
- Fix `informantType` missing in template object which prevented rendering informant relationship data in the certificates [#5952](https://github.com/opencrvs/opencrvs-core/issues/5952)

### Breaking changes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ export const fieldValueTransformer =
sectionId: SectionId,
field: IFormField
) => {
if (!(sectionId in transformedData)) {
transformedData[sectionId] = {}
}
if (queryData[sectionId] && queryData[sectionId][transformedFieldName]) {
transformedData[sectionId][field.name] =
queryData[sectionId][transformedFieldName]
Expand Down

0 comments on commit f1a0fe6

Please sign in to comment.