Fixed precision in score summary

This commit is contained in:
neviyn 2018-11-16 13:09:57 +00:00
parent e8dcb4b87f
commit f2d4a76e74

View File

@ -68,35 +68,35 @@
<b-row class="mb-2">
<b-col class="centered-image" v-if="observation.monitoring">
<img src="../assets/Monitoring.svg" class="image-opacity"/>
<div class="image-centered-text">{{ observation.monitoring }}</div>
<div class="image-centered-text">{{ observation.monitoring.toFixed(1) }}</div>
</b-col>
<b-col class="centered-image" v-if="observation.controlProcedural">
<img src="../assets/Control.svg" class="image-opacity"/>
<div class="image-centered-text">{{ observation.controlProcedural }}</div>
<div class="image-centered-text">{{ observation.controlProcedural.toFixed(1) }}</div>
</b-col>
<b-col class="centered-image" v-if="observation.control">
<img src="../assets/Control.svg" class="image-opacity"/>
<div class="image-centered-text">{{ observation.control }}</div>
<div class="image-centered-text">{{ observation.control.toFixed(1) }}</div>
</b-col>
<b-col class="centered-image" v-if="observation.conservatism">
<img src="../assets/Conservatism.svg" class="image-opacity"/>
<div class="image-centered-text">{{ observation.conservatism }}</div>
<div class="image-centered-text">{{ observation.conservatism.toFixed(1) }}</div>
</b-col>
<b-col class="centered-image" v-if="observation.teamworkCommunications">
<img src="../assets/Teamwork.svg" class="image-opacity"/>
<div class="image-centered-text">{{ observation.teamworkCommunications }}</div>
<div class="image-centered-text">{{ observation.teamworkCommunications.toFixed(1) }}</div>
</b-col>
<b-col class="centered-image" v-if="observation.teamworkLeadership">
<img src="../assets/Teamwork.svg" class="image-opacity"/>
<div class="image-centered-text">{{ observation.teamworkLeadership }}</div>
<div class="image-centered-text">{{ observation.teamworkLeadership.toFixed(1) }}</div>
</b-col>
<b-col class="centered-image" v-if="observation.teamworkWorkload">
<img src="../assets/Teamwork.svg" class="image-opacity"/>
<div class="image-centered-text">{{ observation.teamworkWorkload }}</div>
<div class="image-centered-text">{{ observation.teamworkWorkload.toFixed(1) }}</div>
</b-col>
<b-col class="centered-image" v-if="observation.knowledge">
<img src="../assets/Knowledge.svg" class="image-opacity"/>
<div class="image-centered-text">{{ observation.knowledge }}</div>
<div class="image-centered-text">{{ observation.knowledge.toFixed(1) }}</div>
</b-col>
</b-row>
<div v-for="(entry, index2) in observation.entries" v-bind:key="index2">