summaryrefslogtreecommitdiff
path: root/contents/ui/ActivityView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'contents/ui/ActivityView.qml')
-rw-r--r--contents/ui/ActivityView.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/contents/ui/ActivityView.qml b/contents/ui/ActivityView.qml
index d6e3798..6c58b68 100644
--- a/contents/ui/ActivityView.qml
+++ b/contents/ui/ActivityView.qml
@@ -86,6 +86,7 @@ RowLayout {
function dueLabelText() {
if (type != "assignment") { return "" }
if (submitted) { return i18n("Submitted") }
+ if (!dueAt) { return i18n("Due date not announced") }
return i18n("Due: ") + humanDue(dueAt)
}