diff --git a/client/src/pages/survey.vue b/client/src/pages/survey.vue index cec6eeb5..5b8ea7b0 100644 --- a/client/src/pages/survey.vue +++ b/client/src/pages/survey.vue @@ -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?