From 628659e02a1545f4e3cfa70893da8ee59eec9d6a Mon Sep 17 00:00:00 2001 From: scmmishra Date: Wed, 27 Feb 2019 12:09:28 +0530 Subject: [PATCH] fix: Routing for course --- erpnext/public/js/education/lms/components/TopicCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/public/js/education/lms/components/TopicCard.vue b/erpnext/public/js/education/lms/components/TopicCard.vue index c9cb94f70c..554314cd0e 100644 --- a/erpnext/public/js/education/lms/components/TopicCard.vue +++ b/erpnext/public/js/education/lms/components/TopicCard.vue @@ -51,7 +51,7 @@ export default { computed: { firstContentRoute() { if(lms.store.checkLogin()){ - return `${this.program_name}/${this.course}/${this.courseMeta.content_type}/${this.courseMeta.content}` + return `/Program/${this.program_name}/${this.course_name}/${this.topic.name}/${this.courseMeta.content_type}/${this.courseMeta.content}` } else { return {}