Fix handling of visible solutions on survey page
This commit is contained in:
parent
bfbc7b3d8f
commit
761ae312e2
|
|
@ -55,7 +55,7 @@ export default {
|
||||||
return this.survey && this.survey.isCompleted;
|
return this.survey && this.survey.isCompleted;
|
||||||
},
|
},
|
||||||
showSolution() {
|
showSolution() {
|
||||||
return (module.solutionsEnabled || isTeacher) && !this.survey.isCompleted;
|
return (this.module.solutionsEnabled || this.isTeacher) && !this.survey.isCompleted;
|
||||||
},
|
},
|
||||||
solution() {
|
solution() {
|
||||||
// todo: should this be done inside of Solution.vue?
|
// todo: should this be done inside of Solution.vue?
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue