Skip to content

Commit

Permalink
Remove extra divider on Birth form's father section
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 19, 2024
1 parent 6eb995e commit ecfd0aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/form/addresses/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ export const defaultAddressConfiguration: IAddressConfiguration[] = [
},
{
// FATHER ADDRESS FIELDS
precedingFieldId: 'birth.father.father-view-group.father-nid-seperator',
precedingFieldId:
'birth.father.father-view-group.fatherBirthRegistrationNumber',
configurations: [
{
config: AddressSubsections.PRIMARY_ADDRESS_SUBSECTION,
Expand Down
2 changes: 0 additions & 2 deletions src/form/birth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -440,8 +440,6 @@ export const birthForm: ISerializedForm = {
hideIfNidIntegrationEnabled.concat(detailsExist),
true
),
// preceding field of address fields
divider('father-nid-seperator', detailsExist),
// ADDRESS FIELDS WILL RENDER HERE
divider('father-address-seperator', detailsExist),
getMaritalStatus(certificateHandlebars.fatherMaritalStatus, [
Expand Down

0 comments on commit ecfd0aa

Please sign in to comment.