Fixed some of the math

This commit is contained in:
2019-01-01 16:03:40 -05:00
parent 9b244e1d72
commit 7eb85ce630
2 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<div class="p-3">
<div class="d-flex mb-3">
<div class="d-flex flex-grow-1 align-items-center">
<h3 class="mb-0 text-white">Powerwall: {{batteryService.total}} V</h3>
<h3 class="mb-0 text-white">Powerwall: {{batteryService.total | round}} V</h3>
</div>
<div class="d-flex flex-grow-1 align-content-center justify-content-end">
<mat-button-toggle-group (change)="batteryService.setRelayMode($event.value)">