We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aa065c commit f9479efCopy full SHA for f9479ef
1 file changed
src/routes/plan/exams/+page.svelte
@@ -254,7 +254,12 @@
254
if (exam.constraints && exam.constraints.notPlannedByMe) {
255
continue;
256
}
257
- if (exam.primussExams.some((primussExam) => primussExam.exam.program === program)) {
+ if (
258
+ exam.primussExams.some(
259
+ (primussExam) =>
260
+ primussExam.exam.program === program && primussExam.studentRegs.length > 0
261
+ )
262
+ ) {
263
count++;
264
265
0 commit comments