Skip to content

Commit

Permalink
🤡 [open-formulieren/open-forms#4320] Update mocks with new API field
Browse files Browse the repository at this point in the history
Open Forms 3.0 will expose whether confirmation emails are sent
or not in the detail endpoint.
  • Loading branch information
sergei-maertens committed Dec 5, 2024
1 parent e57ff26 commit ace41b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Context.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const FormContext = React.createContext({
showProgressIndicator: true,
showSummaryProgress: false,
submissionAllowed: 'yes',
sendConfirmationEmail: true,
submissionStatementsConfiguration: [],
literals: {
beginText: {value: '', resolved: 'Begin'},
Expand Down
1 change: 1 addition & 0 deletions src/api-mocks/forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const FORM_DEFAULTS = {
active: true,
submissionAllowed: 'yes',
suspensionAllowed: true,
sendConfirmationEmail: true,
submissionStatementsConfiguration: [PRIVACY_POLICY_ACCEPTED],
appointmentOptions: {
isAppointment: false,
Expand Down

0 comments on commit ace41b6

Please sign in to comment.