diff --git a/app/static/js/releve-but.js b/app/static/js/releve-but.js index 1e8a4a332..b0ad34439 100644 --- a/app/static/js/releve-but.js +++ b/app/static/js/releve-but.js @@ -220,6 +220,9 @@ class releveBUT extends HTMLElement {
Min. promo. :
${data.semestre.notes.min}
${(() => { + if (data.semestre.rang.groupes == null) { + return ""; + } if (Object.keys(data.semestre.rang.groupes).length == 0) { return ""; }