fix filiation error with gender undefined (#331)

This commit is contained in:
Mathieu Jaumotte 2021-12-13 09:45:46 +01:00
parent 7129b3149b
commit 7f2e3ee8e2
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ const visMessages = {
both: 'neutre, non binaire',
woman: 'féminin',
man: 'masculin',
undefined: "genre non précisé",
years: 'ans',
click_to_expand: 'cliquez pour étendre',
add_relationship_link: "Créer un lien de filiation",

View File

@ -153,7 +153,7 @@ const getGender = (gender) => {
case 'man':
return visMessages.fr.visgraph.man
default:
throw 'gender undefined'
return visMessages.fr.visgraph.undefined
}
}