aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-09-25 19:36:36 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-09-25 21:00:12 +0200
commitc2f353da71a02519466ac624be6f8ca909d630b4 (patch)
tree5c1d85f8a649dfb2f62472e326d0303259102662
parent9074258581f3a8d2610f4670a2d4850f5af348e8 (diff)
downloadbycs-sol-c2f353da71a02519466ac624be6f8ca909d630b4.tar.gz
bycs-sol-c2f353da71a02519466ac624be6f8ca909d630b4.zip
students: only consider the actual students role as students
-rw-r--r--src/student-prod.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/student-prod.ts b/src/student-prod.ts
index b2407db..1addf32 100644
--- a/src/student-prod.ts
+++ b/src/student-prod.ts
@@ -32,7 +32,7 @@ async function _fetchStudents() {
const roleCell = row.querySelector(".c4")!;
// TODO(muhq): Is this locale dependent?
- if (roleCell.textContent.includes("Lehrer")) {
+ if (!roleCell.textContent.includes("Schüler")) {
return;
}