diff --git a/app/static/js/releve-but.js b/app/static/js/releve-but.js index 1550f889..52651458 100644 --- a/app/static/js/releve-but.js +++ b/app/static/js/releve-but.js @@ -227,7 +227,7 @@ class releveBUT extends HTMLElement { if (data.semestre.decision?.code) { this.shadow.querySelector(".decision").innerHTML = "Décision jury: " + (data.semestre.decision?.code || ""); } - this.shadow.querySelector("#ects_tot").innerHTML = "ECTS : " + (data.semestre.ECTS?.acquis || "-") + " / " + (data.semestre.ECTS?.total || "-"); + this.shadow.querySelector("#ects_tot").innerHTML = "ECTS : " + (data.semestre.ECTS?.acquis ?? "-") + " / " + (data.semestre.ECTS?.total ?? "-"); } /*******************************/ @@ -254,13 +254,13 @@ class releveBUT extends HTMLElement { ${ue}${(dataUE.titre) ? " - " + dataUE.titre : ""}