This commit is contained in:
Turtle committed 2026-01-05 10:11:59 +01:00
1 parent cfe3260027
commit b6cf8acb70
1 file changed
+1 -1
+1 -1
View File
@@ -156,7 +156,7 @@ async function loadStats() {
bottomLabel.innerHTML = " ";
udiv.appendChild(bottomLabel);
let studenten = gesamtAuswertung[3].reduce((acc, val) => acc + val, 0) / gesamtAuswertung[3].length;
let studenten = gesamtAuswertung[3].length == 0 ? 0 : gesamtAuswertung[3].reduce((acc, val) => acc + val, 0) / gesamtAuswertung[3].length;
gdiv.innerHTML = `