Fix registration form, add pelMember support

This commit is contained in:
pikiou
2022-04-09 03:25:13 +02:00
parent 1936cd34a3
commit dc4fdda658
5 changed files with 177 additions and 64 deletions

View File

@@ -38,6 +38,8 @@ export class Volunteer implements VolunteerPartial {
canHelpBefore = ""
pelMember = false
hiddenAsks: number[] = []
created = new Date()
@@ -71,6 +73,7 @@ export const translationVolunteer: { [k in keyof Volunteer]: string } = {
teamWishesComment: "commentaireEnviesEquipe",
howToContact: "commentContacter",
canHelpBefore: "aideEnAmont",
pelMember: "membrePel",
hiddenAsks: "questionsCachees",
created: "creation",
password1: "passe1",
@@ -117,6 +120,7 @@ export const volunteerExample: Volunteer = {
teamWishesComment: "",
howToContact: "",
canHelpBefore: "",
pelMember: false,
hiddenAsks: [],
created: new Date(0),
password1: "$2y$10$fSxY9AIuxSiEjwF.J3eXGubIxUPkdq9d5fqpbl8ASimSjNj4SR.9O",