forked from ScoDoc/DocScoDoc
Fix: bulletin HTML sur démissionnaires sans groupes
This commit is contained in:
parent
0148b4b2ce
commit
d2356367c6
@ -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