Show car icon as loadpoint default (#5385)
This commit is contained in:
parent
a6a25c56bd
commit
cfeb281b62
4 changed files with 8 additions and 5 deletions
|
|
@ -98,7 +98,10 @@ export default {
|
|||
return this.activeLoadpoints.length;
|
||||
},
|
||||
vehicleIcons: function () {
|
||||
return this.activeLoadpoints.map((lp) => lp.vehicleIcon || "car");
|
||||
if (this.activeLoadpointsCount) {
|
||||
return this.activeLoadpoints.map((lp) => lp.vehicleIcon || "car");
|
||||
}
|
||||
return ["car"];
|
||||
},
|
||||
loadpointsPower: function () {
|
||||
return this.loadpoints.reduce((sum, lp) => {
|
||||
|
|
|
|||
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.4e414929.js"></script>
|
||||
<link rel="stylesheet" href="./assets/index.14ecea29.css">
|
||||
<script type="module" crossorigin src="./assets/index.fc7dad78.js"></script>
|
||||
<link rel="stylesheet" href="./assets/index.8ba2569b.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue