forked from Anri/cal8tor
fix Cours/TD showing when it shouldn't
This commit is contained in:
parent
8abec03d0b
commit
3db016519f
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ fn add_courses(
|
||||||
.to_owned()
|
.to_owned()
|
||||||
.is_some_and(|list| !course.category.iter().any(|item| list.contains(item)))
|
.is_some_and(|list| !course.category.iter().any(|item| list.contains(item)))
|
||||||
|| exclude.to_owned().is_some_and(|list| {
|
|| exclude.to_owned().is_some_and(|list| {
|
||||||
course.category.iter().all(|item| list.contains(item))
|
course.category.iter().any(|item| list.contains(item))
|
||||||
})
|
})
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue