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