fix: Routing for course

This commit is contained in:
scmmishra 2019-02-27 12:09:28 +05:30
parent 90b503621b
commit 628659e02a

View File

@ -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 {}