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 Aug 7, 2024
1 parent a3ad9c6 commit 60ca09e
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 @@ -314,7 +314,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 60ca09e

Please sign in to comment.