Skip to content

Commit

Permalink
Merge 91f31b7 into 18f49f3
Browse files Browse the repository at this point in the history
  • Loading branch information
DDZBX authored Dec 18, 2024
2 parents 18f49f3 + 91f31b7 commit 6716094
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/registration/Registration.types.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,18 @@ export const RegistrationStepContents: {
},
[USER_ROLES.COACH]: {
form: formRegistrationCoachProgram,
dependsOn: ['department'],
dependsOn: ['department', 'birthDate'],
// Pour un coach qui n'a pas le choix, on skip cette etape et on lui assigne le programme CDP
skippedBy: {
notEligibleFor360: true,
},
},
},
'step-4': {
[USER_ROLES.CANDIDATE]: {
form: formRegistrationCandidateProgram,
dependsOn: ['department', 'birthDate'],
// Pour un candidat qui n'a pas le choix, on skip cette etape
// Pour un candidat qui n'a pas le choix, on skip cette etape et on lui assigne le programme CDP
skippedBy: {
notEligibleFor360: true,
},
Expand Down

0 comments on commit 6716094

Please sign in to comment.