From 0bd859bf97cc78e9ffed0852632e0c4824ca7b89 Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Wed, 12 Jul 2023 00:29:48 -0500 Subject: [PATCH] Work: Fix create work with calendar event #4769 --- assets/vue/components/assignments/AssignmentsForm.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/vue/components/assignments/AssignmentsForm.vue b/assets/vue/components/assignments/AssignmentsForm.vue index 48556d6f35..0b9ce8e6a1 100644 --- a/assets/vue/components/assignments/AssignmentsForm.vue +++ b/assets/vue/components/assignments/AssignmentsForm.vue @@ -236,8 +236,9 @@ const onSubmit = async () => { if (showAdvancedSettings.value) { publicationStudent.qualification = assignment.qualification; + publicationStudent.addToCalendar = assignment.addToCalendar; + if (chkAddToGradebook.value) { - publicationStudent.addToCalendar = true; publicationStudent.gradebookCategoryId = assignment.gradebookId.id; publicationStudent.weight = assignment.weight; }