From d2356367c63a957c811b469a2755fdf7dc5318c0 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sun, 13 Nov 2022 17:55:01 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20bulletin=20HTML=20sur=20d=C3=A9missionna?= =?UTF-8?q?ires=20sans=20groupes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/static/js/releve-but.js | 3 +++ 1 file changed, 3 insertions(+) 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 ""; }