Skip to content

Commit

Permalink
fix: courseId is not given as parameter, use courseId from the parent…
Browse files Browse the repository at this point in the history
… component
  • Loading branch information
cranemont authored and pinecone28 committed Mar 1, 2022
1 parent 48d5d9d commit 3d7f5aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/pages/prof/views/assignment/AssignmentList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit 3d7f5aa

Please sign in to comment.