diff --git a/.changes/unreleased/Fixed-20241211-141225.yaml b/.changes/unreleased/Fixed-20241211-141225.yaml new file mode 100644 index 000000000..2b6dea80b --- /dev/null +++ b/.changes/unreleased/Fixed-20241211-141225.yaml @@ -0,0 +1,5 @@ +kind: Fixed +body: 'Filiation: fix the display of the gender label in the graph' +time: 2024-12-11T14:12:25.68131853+01:00 +custom: + Issue: "" diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/VisGraph/store.js b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/VisGraph/store.js index cc887e398..4d5f13d2e 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/VisGraph/store.js +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/VisGraph/store.js @@ -173,7 +173,7 @@ const store = createStore({ person.group = person.type; person._id = person.id; person.id = `person_${person.id}`; - person.label = `*${person.text}${person.deathdate ? " (‡)" : ""}*\n_${person.gender.label.fr}${age}_${debug}`; + person.label = `*${person.text}${person.deathdate ? " (‡)" : ""}*\n_${person.gender.label}${age}_${debug}`; person.folded = false; // folded is used for missing persons if (options.folded) {