From b793cc8e1e5dc79e0870cae554e9f973d9259b20 Mon Sep 17 00:00:00 2001 From: scmmishra Date: Thu, 28 Feb 2019 16:33:38 +0530 Subject: [PATCH] fix: Minor changes --- .../js/education/lms/components/ContentNavigation.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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); } }