Fix: bulletin HTML sur démissionnaires sans groupes

This commit is contained in:
Emmanuel Viennet 2022-11-13 17:55:01 +01:00 committed by iziram
parent d7f1114a42
commit 559b66de8b

View File

@ -220,6 +220,9 @@ class releveBUT extends HTMLElement {
<div>Min. promo. :</div><div>${data.semestre.notes.min}</div>
</div>
${(() => {
if (data.semestre.rang.groupes == null) {
return "";
}
if (Object.keys(data.semestre.rang.groupes).length == 0) {
return "";
}