Fix: bulletin HTML sur démissionnaires sans groupes
This commit is contained in:
parent
d7f1114a42
commit
559b66de8b
@ -220,6 +220,9 @@ class releveBUT extends HTMLElement {
|
|||||||
<div>Min. promo. :</div><div>${data.semestre.notes.min}</div>
|
<div>Min. promo. :</div><div>${data.semestre.notes.min}</div>
|
||||||
</div>
|
</div>
|
||||||
${(() => {
|
${(() => {
|
||||||
|
if (data.semestre.rang.groupes == null) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
if (Object.keys(data.semestre.rang.groupes).length == 0) {
|
if (Object.keys(data.semestre.rang.groupes).length == 0) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user