fix: Content navigation
This commit is contained in:
parent
8747900aa1
commit
e6735e418f
@ -12,7 +12,7 @@ import Video from "../components/Video.vue"
|
|||||||
import ContentNavigation from "../components/ContentNavigation.vue"
|
import ContentNavigation from "../components/ContentNavigation.vue"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props:['program_name', 'course', 'type', 'content'],
|
props:['program_name', 'course_name', 'topic', 'type', 'content'],
|
||||||
name: "ContentPage",
|
name: "ContentPage",
|
||||||
data() {
|
data() {
|
||||||
return{
|
return{
|
||||||
@ -41,12 +41,11 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getNextContent(){
|
getNextContent(){
|
||||||
window.t = this
|
|
||||||
return lms.call("get_next_content",
|
return lms.call("get_next_content",
|
||||||
{
|
{
|
||||||
content: this.content,
|
current_content: this.content,
|
||||||
content_type: this.type,
|
current_content_type: this.type,
|
||||||
course: this.course
|
topic: this.topic,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user