Skip to content

Commit

Permalink
Drop sums
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Jan 11, 2020
1 parent 41601b5 commit 475f2aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ <h1>Measurements</h1>
<td class="col-2" v-if="pop(m.DCCurrentS3)">${ m.DCCurrentS3 }</td>
<td class="col-2" v-else>&mdash;</td>
<td class="col-3" v-if="pop(m.DCCurrent)">${ m.DCCurrent }</td>
<td class="col-3" v-else>${ (val(m.DCCurrentS1) + val(m.DCCurrentS2) + val(m.DCCurrentS3)).toFixed(2) }</td>
<td class="col-3" v-else>&mdash;</td>
</tr>
<tr class="d-flex" v-if="pop(m.DCPowerS1, m.DCPowerS2, m.DCPowerS3, m.DCPower)">
<td class="col-3">DC Power (W)</td>
Expand All @@ -83,7 +83,7 @@ <h1>Measurements</h1>
<td class="col-2" v-if="pop(m.DCPowerS3)">${ m.DCPowerS3 }</td>
<td class="col-2" v-else>&mdash;</td>
<td class="col-3" v-if="pop(m.DCPower)">${ m.DCPower }</td>
<td class="col-3" v-else>${ (val(m.DCPowerS1) + val(m.DCPowerS2) + val(m.DCPowerS3)).toFixed(2) }</td>
<td class="col-3" v-else>&mdash;</td>
</tr>
<tr class="d-flex" v-if="pop(m.ChargeState)">
<td class="col-3">Charge State (%)</td>
Expand Down

0 comments on commit 475f2aa

Please sign in to comment.