Fix consistent % formatting
This commit is contained in:
parent
a582ba3b50
commit
47024db60b
2 changed files with 2 additions and 2 deletions
|
|
@ -129,7 +129,7 @@ export default {
|
|||
return this.targetChargeEnabled || this.minSocEnabled;
|
||||
},
|
||||
minSocLabel: function () {
|
||||
return `${Math.round(this.minSoc)} %`;
|
||||
return `${Math.round(this.minSoc)}%`;
|
||||
},
|
||||
modalId: function () {
|
||||
return `chargingPlanModal_${this.id}`;
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@
|
|||
{{ $t("sessions.solar") }}
|
||||
</th>
|
||||
<td>
|
||||
{{ fmtNumber(session.solarPercentage, 1) }} % ({{
|
||||
{{ fmtNumber(session.solarPercentage, 1) }}% ({{
|
||||
fmtKWh(
|
||||
session.chargedEnergy * 10 * session.solarPercentage
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue