From 3d7f5aa296e74cca88b193f0c734f01fa8090317 Mon Sep 17 00:00:00 2001 From: HakSan Date: Fri, 18 Feb 2022 17:53:46 +0900 Subject: [PATCH] fix: courseId is not given as parameter, use courseId from the parent component --- frontend/src/pages/prof/views/assignment/AssignmentList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 () {