Fix vehicle options in disconnected state (#4172)

This commit is contained in:
Michael Geers 2022-08-21 13:06:09 +02:00 • committed by GitHub
parent 7b4bbaa82c
commit 8e1de77a4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View file

@ -72,7 +72,7 @@ export default {
return this.$t("main.vehicle.none");
},
isUnknown() {
return this.connected && !this.vehiclePresent;
return !this.vehiclePresent;
},
otherVehicles() {
return this.vehicles
@ -123,7 +123,7 @@ export default {
.spin {
animation: rotation 1s infinite cubic-bezier(0.37, 0, 0.63, 1);
}
.spin >>> svg {
.spin ::v-deep(svg) {
/* workaround to fix the not perfectly centered shopicon. Remove once its fixed in @h2d2/shopicons */
transform: translateY(-0.7px);
}

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
View file

@ -20,8 +20,8 @@
<meta name="theme-color" content="#020318" />
<title>evcc</title>
<script type="module" crossorigin src="./assets/index.a11d5a54.js"></script>
<link rel="stylesheet" href="./assets/index.7fc627a8.css">
<script type="module" crossorigin src="./assets/index.5476d018.js"></script>
<link rel="stylesheet" href="./assets/index.4645a392.css">
</head>
<body>
<script>