Fix consistent % formatting

This commit is contained in:
Michael Geers 2023-05-12 15:12:15 +02:00
parent a582ba3b50
commit 47024db60b
2 changed files with 2 additions and 2 deletions

View file

@ -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}`;

View file

@ -75,7 +75,7 @@
{{ $t("sessions.solar") }}
</th>
<td>
{{ fmtNumber(session.solarPercentage, 1) }} % ({{
{{ fmtNumber(session.solarPercentage, 1) }}% ({{
fmtKWh(
session.chargedEnergy * 10 * session.solarPercentage
)