Improve charge power unit; watt for small power (#3728)
This commit is contained in:
parent
06e688c28b
commit
625b2e24f6
4 changed files with 9 additions and 6 deletions
|
|
@ -33,7 +33,7 @@
|
|||
<div class="d-flex align-items-center">
|
||||
<LabelAndValue
|
||||
:label="$t('main.loadpoint.power')"
|
||||
:value="fmtKw(chargePower)"
|
||||
:value="fmtKw(chargePower, formatChargePowerInKw)"
|
||||
class="mb-2"
|
||||
/>
|
||||
<shopicon-regular-lightning
|
||||
|
|
@ -157,6 +157,9 @@ export default {
|
|||
vehicle: function () {
|
||||
return this.collectProps(Vehicle);
|
||||
},
|
||||
formatChargePowerInKw: function () {
|
||||
return this.chargePower == 0 || this.chargePower >= 1000;
|
||||
},
|
||||
},
|
||||
watch: {
|
||||
phaseRemaining() {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
dist/index.html
vendored
4
dist/index.html
vendored
|
|
@ -20,8 +20,8 @@
|
|||
<meta name="theme-color" content="#020318" />
|
||||
|
||||
<title>evcc</title>
|
||||
<script type="module" crossorigin src="./assets/index.f2e7fb95.js"></script>
|
||||
<link rel="stylesheet" href="./assets/index.49c54bb1.css">
|
||||
<script type="module" crossorigin src="./assets/index.e913565f.js"></script>
|
||||
<link rel="stylesheet" href="./assets/index.ed2c6564.css">
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue