fix Cours/TD showing when it shouldn't

This commit is contained in:
Mylloon 2024-01-22 22:16:11 +01:00
parent 8abec03d0b
commit 3db016519f
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -211,7 +211,7 @@ fn add_courses(
.to_owned()
.is_some_and(|list| !course.category.iter().any(|item| list.contains(item)))
|| exclude.to_owned().is_some_and(|list| {
course.category.iter().all(|item| list.contains(item))
course.category.iter().any(|item| list.contains(item))
})
{
continue;