summaryrefslogtreecommitdiff
path: root/contents/ui/kanvas.js
diff options
context:
space:
mode:
Diffstat (limited to 'contents/ui/kanvas.js')
-rw-r--r--contents/ui/kanvas.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/contents/ui/kanvas.js b/contents/ui/kanvas.js
index dbd2526..a8a8f7c 100644
--- a/contents/ui/kanvas.js
+++ b/contents/ui/kanvas.js
@@ -83,6 +83,7 @@ function syncCourses(courses, courseIndices, showSubmittedAssignments, userId) {
courseId: course.id,
course: course.code,
title: announcement.title,
+ message: announcement.message,
url: announcement.html_url,
important: plasmoid.configuration.importantAnnouncements
.includes(announcement.id.toString()),
@@ -133,6 +134,7 @@ function syncCourses(courses, courseIndices, showSubmittedAssignments, userId) {
courseId: course.id,
course: course.code,
title: assignment.name,
+ message: "",
// if null, use empty string to suppress errors
dueAt: assignment.due_at || "",
submitted: submitted,