fix: Routing for course
This commit is contained in:
parent
90b503621b
commit
628659e02a
@ -51,7 +51,7 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
firstContentRoute() {
|
firstContentRoute() {
|
||||||
if(lms.store.checkLogin()){
|
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 {
|
else {
|
||||||
return {}
|
return {}
|
||||||
|
Loading…
Reference in New Issue
Block a user