create course enrollment if not already enrolled for a program

This commit is contained in:
scmmishra
2018-11-26 14:41:15 +05:30
committed by Aditya Hase
parent affbfe7d0c
commit 97c994f394
3 changed files with 22 additions and 10 deletions

View File

@@ -67,7 +67,7 @@ export default {
},
isLogin() {
return lms.store.checkLogin()
}
},
},
methods: {
iconClass(content_type) {
@@ -77,9 +77,10 @@ export default {
},
getCourseMeta() {
return lms.call('get_course_meta', {
course_name: this.course.name
course_name: this.course.name,
program_name: this.program_name
})
}
},
}
};
</script>
@@ -92,6 +93,7 @@ export default {
}
li {
list-style-type: none;
padding: 0;
}
.fa {
font-size: 0.8em;