Cacher les points de tâche
This commit is contained in:
@ -404,10 +404,12 @@ export class RdDItem extends Item {
|
||||
`<b>Compétence</b>: ${tplData.competence}`,
|
||||
`<b>Périodicité</b>: ${tplData.periodicite}`,
|
||||
`<b>Fatigue</b>: ${tplData.fatigue}`,
|
||||
`<b>Difficulté</b>: ${tplData.difficulte}`,
|
||||
`<b>Points de Tâche</b>: ${tplData.points_de_tache}`,
|
||||
`<b>Points de Tâche atteints</b>: ${tplData.points_de_tache_courant}`
|
||||
]
|
||||
`<b>Difficulté</b>: ${tplData.difficulte}`
|
||||
].concat([
|
||||
tplData.cacher_points_de_tache ? [] :`<b>Points de Tâche</b>: ${tplData.points_de_tache}`
|
||||
]).concat([
|
||||
`<b>Points de Tâche atteints</b>: ${tplData.points_de_tache_courant}`]
|
||||
);
|
||||
return properties;
|
||||
}
|
||||
/* -------------------------------------------- */
|
||||
|
Reference in New Issue
Block a user