Merge branch 'hotfix/survey-hide-solutions' into develop

This commit is contained in:
Ramon Wenger 2021-01-19 17:25:01 +01:00
commit b0e89c34f7
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ export default {
return this.survey && this.survey.isCompleted;
},
showSolution() {
return (module.solutionsEnabled || isTeacher) && !this.survey.isCompleted;
return (this.module.solutionsEnabled || this.isTeacher) && !this.survey.isCompleted;
},
solution() {
// todo: should this be done inside of Solution.vue?