Added ListPage and other UI improvements

This commit is contained in:
scmmishra
2018-11-14 14:23:06 +05:30
committed by Aditya Hase
parent efb01c3f75
commit 85c2feec0d
12 changed files with 102 additions and 38 deletions

View File

@@ -57,7 +57,7 @@ export default {
}
},
programPageRoute() {
return `Program/${this.program.name}`
return { name: 'program', params: { program_name: this.program.name }}
},
isEnrolled() {
return lms.store.enrolledPrograms.has(this.program.name)