From 3cdfc988b4de612f0da54a4d9450c7c5822f54b5 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Sat, 9 Apr 2022 14:56:05 +0800 Subject: Show "Submitted" instead of due date when applicable --- contents/ui/main.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'contents/ui/main.qml') diff --git a/contents/ui/main.qml b/contents/ui/main.qml index 5b3ebb5..5593b8c 100644 --- a/contents/ui/main.qml +++ b/contents/ui/main.qml @@ -79,6 +79,7 @@ Item { course: course[1], title: assignment.name, dueAt: assignment.due_at, + submitted: assignment.has_submitted_submissions, url: assignment.html_url, important: plasmoid.configuration.importantAssignments.includes(assignment.id.toString()), } @@ -154,6 +155,7 @@ Item { course: "EE210" title: "Title" dueAt: "2022-04-10T15:59:59Z" + submitted: true url: "https://xkcd.com" important: true activityId: 1 -- cgit v1.2.3