diff --git a/erpnext/public/js/education/lms/components/ContentNavigation.vue b/erpnext/public/js/education/lms/components/ContentNavigation.vue index bca89162c15..e58e1eb3a95 100644 --- a/erpnext/public/js/education/lms/components/ContentNavigation.vue +++ b/erpnext/public/js/education/lms/components/ContentNavigation.vue @@ -2,7 +2,7 @@
@@ -18,7 +18,7 @@ export default { { course: this.$route.params.course_name, content_type: this.$route.params.type, - content: this.$route.params.content + content: this.$route.params.content, } ) } @@ -29,8 +29,7 @@ export default { }, finish() { this.addActivity() - this.$router.push({ name: 'program', params: { program_name: this.$route.params.program_name}}) - // + this.$router.push({ name: 'course', params: { program_name: this.$route.params.program_name, course_name: this.$route.params.course_name}}) lms.trigger('course-completed', course_name); } }