diff options
Diffstat (limited to 'contents/ui')
-rw-r--r-- | contents/ui/main.qml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/contents/ui/main.qml b/contents/ui/main.qml index ad62fd1..f3af512 100644 --- a/contents/ui/main.qml +++ b/contents/ui/main.qml @@ -78,13 +78,11 @@ Item { normal: 0, finished: 0, } - let announcementLock = false let assignmentIndices = { important: 0, normal: 0, finished: 0, } - let assignmentLock = false for (let course of courses) { const courseIdx = courseIndices[course.id] @@ -114,7 +112,7 @@ Item { endIdx = announcementIndices.finished announcementIndices.finished++ } else { - idx = announcementIndices.normal + idx = announcementIndices.finished endIdx = announcementsModel.count } @@ -162,7 +160,7 @@ Item { endIdx = assignmentIndices.finished assignmentIndices.finished++ } else { - idx = assignmentIndices.normal + idx = assignmentIndices.finished endIdx = assignmentsModel.count } |