diff --git a/frontend/src/pages/prof/views/assignment/AssignmentList.vue b/frontend/src/pages/prof/views/assignment/AssignmentList.vue index ed62bf905..aabd3d81e 100644 --- a/frontend/src/pages/prof/views/assignment/AssignmentList.vue +++ b/frontend/src/pages/prof/views/assignment/AssignmentList.vue @@ -360,9 +360,9 @@ export default { } await api.editAssignment(data) }, - showImportPublicProblemModal (assignmentId, courseId) { + showImportPublicProblemModal (assignmentId) { this.selectedAssignmentId = assignmentId - this.selectedCourseId = courseId + this.selectedCourseId = this.courseId this.$bvModal.show('import-public-problem-modal') }, async getUserTotal () {