Skip to content

Commit 0923d38

Browse files
authored
Merge pull request #1052 from opencrvs/ocrvs-10584
Update birth certificate SVG to use streetLevelDetails fields and correct informant relation handling
2 parents 0fc9512 + c64a8d7 commit 0923d38

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

src/api/certificates/handler.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@
99
* Copyright (C) The OpenCRVS Authors located at https://github.com/opencrvs/opencrvs-core/blob/master/AUTHORS.
1010
*/
1111

12+
import { conditionals } from '@countryconfig/form/common/custom-validation-conditionals/custom-conditionals'
1213
import { Event } from '@countryconfig/form/types/types'
1314
import { Request, ResponseToolkit } from '@hapi/hapi'
1415
import { ActionType, event, field } from '@opencrvs/toolkit/events'
16+
import { x } from 'joi'
1517

1618
type FontFamilyTypes = {
1719
normal: string
@@ -419,5 +421,5 @@ export async function certificateHandler(request: Request, h: ResponseToolkit) {
419421
}
420422
}
421423
]
422-
return certificateConfigs
424+
return certificateConfigs.map((x) => ({ ...x, conditionals: [] }))
423425
}

src/api/certificates/source/v2.birth-certificate-certified-copy.svg

Lines changed: 4 additions & 4 deletions
Loading

src/api/certificates/source/v2.death-certificate-certified-copy.svg

Lines changed: 2 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)