Work: Fix create work with calendar event #4769

pull/4805/head
Angel Fernando Quiroz Campos 1 year ago
parent 2adb2816f5
commit 0bd859bf97
  1. 3
      assets/vue/components/assignments/AssignmentsForm.vue

@ -236,8 +236,9 @@ const onSubmit = async () => {
if (showAdvancedSettings.value) { if (showAdvancedSettings.value) {
publicationStudent.qualification = assignment.qualification; publicationStudent.qualification = assignment.qualification;
publicationStudent.addToCalendar = assignment.addToCalendar;
if (chkAddToGradebook.value) { if (chkAddToGradebook.value) {
publicationStudent.addToCalendar = true;
publicationStudent.gradebookCategoryId = assignment.gradebookId.id; publicationStudent.gradebookCategoryId = assignment.gradebookId.id;
publicationStudent.weight = assignment.weight; publicationStudent.weight = assignment.weight;
} }

Loading…
Cancel
Save