summaryrefslogtreecommitdiff
path: root/contents/ui/kanvas.js
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2023-07-29 15:15:24 +0800
committerFrederick Yin <fkfd@fkfd.me>2023-07-29 15:15:24 +0800
commit3d6239a9288d091f0a365e775365e8fa033db822 (patch)
tree722b361f0d0c9d4625917a67451fdf8d7b98fa34 /contents/ui/kanvas.js
parenta49cf62f9c0d56e2edd8543fbf7e48d0b9b9bea3 (diff)
parentc82c7b64b82657693a9e2b466a2d8803ce393f07 (diff)
Merge branch 'expand'
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,