forked from firka/student-legacy
fix livecard filter label lessons #128
This commit is contained in:
parent
f8cfa04d04
commit
26f65a4144
@ -139,7 +139,8 @@ class LiveCardProvider extends ChangeNotifier {
|
||||
final now = _now().add(_delay);
|
||||
|
||||
// Filter cancelled lessons #20
|
||||
today = today.where((lesson) => lesson.status?.name != "Elmaradt").toList();
|
||||
// Filter label lessons #128
|
||||
today = today.where((lesson) => lesson.status?.name != "Elmaradt" && !(lesson.subject.id != '' || lesson.isEmpty)).toList();
|
||||
|
||||
if (today.isNotEmpty) {
|
||||
// sort
|
||||
|
Loading…
x
Reference in New Issue
Block a user