g5.1
This commit is contained in:
1 parent
cfe3260027
commit
b6cf8acb70
1 file changed
+1
-1
@@ -156,7 +156,7 @@ async function loadStats() {
|
|||||||
bottomLabel.innerHTML = " ";
|
bottomLabel.innerHTML = " ";
|
||||||
udiv.appendChild(bottomLabel);
|
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 = `
|
gdiv.innerHTML = `
|
||||||
|
|||||||
Reference in new issue
Block a user