Skip to content

Commit

Permalink
Merge pull request #284 from opencrvs/fix-extra-separator
Browse files Browse the repository at this point in the history
fix: remove extra divider in birth declaration form
  • Loading branch information
Zangetsu101 authored Sep 27, 2024
2 parents 5f58e23 + 6724964 commit 5b64504
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion src/form/addresses/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const defaultAddressConfiguration: IAddressConfiguration[] = [
{
// INFORMANT ADDRESS FIELDS
precedingFieldId:
'birth.informant.informant-view-group.informant-nid-seperator',
'birth.informant.informant-view-group.informantBirthRegistrationNumber',
configurations: [
{
config: AddressSubsections.PRIMARY_ADDRESS_SUBSECTION,
Expand Down
7 changes: 0 additions & 7 deletions src/form/birth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,6 @@ export const birthForm: ISerializedForm = {
hideIfNidIntegrationEnabled.concat(hideIfInformantMotherOrFather),
true
),
// preceding field of address fields
divider('informant-nid-seperator', [
{
action: 'hide',
expression: informantNotMotherOrFather
}
]),
// ADDRESS FIELDS WILL RENDER HERE
divider('informant-address-seperator', [
{
Expand Down

0 comments on commit 5b64504

Please sign in to comment.