aboutsummaryrefslogtreecommitdiff
path: root/cockpit/js
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-05-28 15:26:23 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-05-28 15:26:23 +0200
commit367954fe15dcdd467e258b7228b139e4c8b02068 (patch)
tree83960407467f9d6b723b5e92c03b918165a407b1 /cockpit/js
parentf9a9fa15d6d61eb9730183193ce8af29bdfc17e7 (diff)
downloadbycs-sol-367954fe15dcdd467e258b7228b139e4c8b02068.tar.gz
bycs-sol-367954fe15dcdd467e258b7228b139e4c8b02068.zip
cockpit: only show student-content if a student is selected
Diffstat (limited to 'cockpit/js')
-rw-r--r--cockpit/js/cockpit.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/cockpit/js/cockpit.js b/cockpit/js/cockpit.js
index 3b54f67..f732cf0 100644
--- a/cockpit/js/cockpit.js
+++ b/cockpit/js/cockpit.js
@@ -222,6 +222,8 @@ function updateStudentInfo() {
renderGraduationStickers(student.graduation, document.getElementById("student-info-stickers"));
renderGraduationBonus(student.graduation, document.getElementById("student-info-stickers"));
}
+
+ document.getElementById("student-content").style.display = "block";
}
function renderGraduationLevel(graduation, node) {