Loadpoint settings: show decimals for min/max current

Co-authored-by: Michael Geers <michael@geers.tv>
This commit is contained in:
RenatusRo 2025-11-04 11:07:25 +01:00 • committed by GitHub
parent a466f62427
commit fe909654b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -269,7 +269,7 @@ export default defineComponent({
},
currentOption(current: number, isDefault: boolean, phases: number) {
const kw = this.fmtPhasePower(current, phases);
let name = `${this.fmtNumber(current, current <= 1 ? undefined : 0)} A (${kw})`;
let name = `${this.fmtNumber(current, undefined)} A (${kw})`;
if (isDefault) {
name += ` [${this.$t("main.loadpointSettings.default")}]`;
}