Skip to content

Commit

Permalink
Rm extra divider on Marriage form's placeOfMarriageTitle
Browse files Browse the repository at this point in the history
* Also update the precedingFieldId of the defaultAddressConfiguration

(#7404)[opencrvs/opencrvs-core#7404]
  • Loading branch information
Siyasanga committed Sep 18, 2024
1 parent 4a0feb6 commit 2c8215d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/form/addresses/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ export const defaultAddressConfiguration: IAddressConfiguration[] = [
{
// PLACE OF MARRIAGE ADDRESS FIELDS
precedingFieldId:
'marriage.marriageEvent.marriage-event-details.place-of-marriage-seperator',
'marriage.marriageEvent.marriage-event-details.placeOfMarriageTitle',
configurations: [{ config: EventLocationAddressCases.PLACE_OF_MARRIAGE }]
},
{
Expand Down
3 changes: 1 addition & 2 deletions src/form/marriage/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,7 @@ export const marriageForm: ISerializedForm = {
fields: [
getMarriageDate, // Required field
getTypeOfMarriage,
placeOfMarriageSubsection,
divider('place-of-marriage-seperator')
placeOfMarriageSubsection
// PLACE OF MARRIAGE FIELDS WILL RENDER HERE
]
}
Expand Down

0 comments on commit 2c8215d

Please sign in to comment.