Fix display of gender label in the filiation

This commit is contained in:
Julie Lenaerts 2024-12-11 14:12:54 +01:00
parent 1e52a93cbe
commit 22ce16ef49
2 changed files with 6 additions and 1 deletions

View File

@ -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: ""

View File

@ -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) {