summaryrefslogtreecommitdiff
path: root/contents/ui/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'contents/ui/main.qml')
-rw-r--r--contents/ui/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/contents/ui/main.qml b/contents/ui/main.qml
index da80c38..0bff9ad 100644
--- a/contents/ui/main.qml
+++ b/contents/ui/main.qml
@@ -92,7 +92,7 @@ Item {
activityId: assignment.id,
course: course.code,
title: assignment.name,
- dueAt: assignment.due_at,
+ dueAt: assignment.due_at || "", // if null, use empty string to suppress errors
submitted: submission.workflow_state != "unsubmitted",
url: assignment.html_url,
important: plasmoid.configuration.importantAssignments.includes(assignment.id.toString()),