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 committed Feb 18, 2022
1 parent b318679 commit a853e18
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 a853e18

Please sign in to comment.