Ajout bouton augmenter niveau

This commit is contained in:
Vincent Vandemeulebrouck
2021-05-28 00:55:22 +02:00
parent 63d5281a0c
commit 41bb5ca919
6 changed files with 78 additions and 26 deletions

View File

@ -219,7 +219,7 @@ export class RdDUtility {
Handlebars.registerHelper('caseTmr-label', coord => TMRUtility.getTMRLabel(coord));
Handlebars.registerHelper('caseTmr-type', coord => TMRUtility.getTMRType(coord));
Handlebars.registerHelper('typeTmr-name', coord => TMRUtility.typeTmrName(coord));
Handlebars.registerHelper('equals', (a, b) => a == b);
Handlebars.registerHelper('sortCompetence', competences => competences.sort((a, b) => {
if (a.name.startsWith("Survie") && b.name.startsWith("Survie")) {
if (a.name.includes("Cité")) return -1;