Skip to content
Snippets Groups Projects
Commit 995f2488 authored by robinwilliam.hundt's avatar robinwilliam.hundt
Browse files

fix in stats comp when mean was null

parent a0a5988b
No related branches found
No related tags found
1 merge request!113Resolve "Frontend Refactor"
......@@ -7,7 +7,11 @@
<ul class="inline-list mx-3">
<li>Submissions per student: <span>{{statistics.submissions_per_student}}</span></li>
<li>Submissions per type: <span>{{statistics.submissions_per_type}}</span></li>
<li>Curr. mean score: <span>{{statistics.current_mean_score.toFixed(2)}}</span></li>
<li>Curr. mean score:
<span>
{{statistics.current_mean_score === null ? 'N.A.' : statistics.current_mean_score.toFixed(2)}}
</span>
</li>
</ul>
<v-divider class="mx-2 my-2"></v-divider>
<div v-for="(progress, index) in statistics.submission_type_progress" :key="index">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment