Skip to content

Commit

Permalink
chore!: move configuration options (#1005)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nil20 authored May 20, 2024
1 parent 974f109 commit 186daf2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/api/application/application-config-default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ export const defaultApplicationConfig = {
MARRIAGE_REGISTRATION: true,
EXTERNAL_VALIDATION_WORKQUEUE: false,
INFORMANT_SIGNATURE: true,
PRINT_DECLARATION: true
PRINT_DECLARATION: true,
DATE_OF_BIRTH_UNKNOWN: true,
INFORMANT_SIGNATURE_REQUIRED: false
},
DATE_OF_BIRTH_UNKNOWN: true,
INFORMANT_SIGNATURE_REQUIRED: false,
USER_NOTIFICATION_DELIVERY_METHOD: 'email', // or 'sms', or '' ... You can use 'sms' for WhatsApp
INFORMANT_NOTIFICATION_DELIVERY_METHOD: 'email', // or 'sms', or '' ... You can use 'sms' for WhatsApp
SIGNATURE_REQUIRED_FOR_ROLES: ['LOCAL_REGISTRAR', 'NATIONAL_REGISTRAR']
Expand Down
2 changes: 1 addition & 1 deletion src/form/common/common-optional-fields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { Validator } from '../types/validators'
const exactDobConditional: Conditional[] = [
{
action: 'hide',
expression: '!window.config.DATE_OF_BIRTH_UNKNOWN'
expression: '!window.config.FEATURES.DATE_OF_BIRTH_UNKNOWN'
}
]

Expand Down

0 comments on commit 186daf2

Please sign in to comment.