diff --git a/src/views/Exercises/Tasks/IndependentAssessments.vue b/src/views/Exercises/Tasks/IndependentAssessments.vue index c350e5326..780fbed34 100644 --- a/src/views/Exercises/Tasks/IndependentAssessments.vue +++ b/src/views/Exercises/Tasks/IndependentAssessments.vue @@ -3,6 +3,29 @@

Independent Assessments

+
+
+
+ + Sent + +

+ {{ assessmentsSent }} +

+
+
+
+
+ Completed +

+ {{ assessmentsCompleted }} +

+
+
+
@@ -301,6 +324,20 @@ export default { assessments() { return this.$store.state.assessments.records; }, + assessmentsSent() { + if (this.exercise.assessments && this.exercise.assessments.sent){ + return this.exercise.assessments.sent; + } + + return 0; + }, + assessmentsCompleted() { + if (this.exercise.assessments && this.exercise.assessments.completed){ + return this.exercise.assessments.completed; + } + + return 0; + }, status() { return this.$route.params.status; },