Skip to content

Commit 3d7f5aa

Browse files
cranemontpinecone28
authored andcommitted
fix: courseId is not given as parameter, use courseId from the parent component
1 parent 48d5d9d commit 3d7f5aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/pages/prof/views/assignment/AssignmentList.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,9 +360,9 @@ export default {
360360
}
361361
await api.editAssignment(data)
362362
},
363-
showImportPublicProblemModal (assignmentId, courseId) {
363+
showImportPublicProblemModal (assignmentId) {
364364
this.selectedAssignmentId = assignmentId
365-
this.selectedCourseId = courseId
365+
this.selectedCourseId = this.courseId
366366
this.$bvModal.show('import-public-problem-modal')
367367
},
368368
async getUserTotal () {

0 commit comments

Comments
 (0)