Skip to content

Commit

Permalink
Update TeleopCard.vue
Browse files Browse the repository at this point in the history
Battery fixed to 2 points
  • Loading branch information
koudis authored Sep 27, 2022
1 parent 563e057 commit b57129a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FE/src/components/TeleopCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<p class="text-center text-h6 mb-0">{{ car.name }}</p>
<div class="d-flex justify-center align-center text-caption mb-1">
<span v-if="car.fuel" class="mr-2">
<v-icon>{{ getCarBatteryIcon(car.fuel) }}</v-icon> {{ car.fuel * 100 }}%
<v-icon>{{ getCarBatteryIcon(car.fuel) }}</v-icon> {{ car.fuel.toFixed(4) * 100 }}%
</span>
<span>{{ getLastUpdate(car) }}</span>
</div>
Expand Down

0 comments on commit b57129a

Please sign in to comment.