Skip to content

Commit

Permalink
Merge pull request #285 from opencrvs/auto-pr-release-v1.6.0-284-30483
Browse files Browse the repository at this point in the history
fix(v1.6.0): remove extra divider in birth declaration form
  • Loading branch information
Zangetsu101 authored Sep 27, 2024
2 parents 3e10cdd + e8bd3e3 commit 94420eb
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 94420eb

Please sign in to comment.