En-/decryption fixed

This commit is contained in:
Torsten Schulz
2024-07-28 16:12:48 +02:00
parent 4c12303edc
commit 4b6ad3aefe
27 changed files with 3315 additions and 97 deletions

View File

@@ -41,7 +41,6 @@ label {
display: flex;
align-items: center;
}
input[type="checkbox"] {
margin-right: 0.5em;
}

View File

@@ -41,7 +41,7 @@ export default {
},
computed: {
formattedValue() {
return this.value != null ? this.value.toFixed(this.decimals) : '';
return this.value != null && typeof this.value === 'float' ? this.value.toFixed(this.decimals) : '';
},
step() {
return Math.pow(10, -this.decimals);