From 22ce16ef492791049931a69a15803e8a246524db Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Wed, 11 Dec 2024 14:12:54 +0100 Subject: [PATCH] Fix display of gender label in the filiation --- .changes/unreleased/Fixed-20241211-141225.yaml | 5 +++++ .../Resources/public/vuejs/VisGraph/store.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changes/unreleased/Fixed-20241211-141225.yaml 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) {