chore: 📎 + fmt

This commit is contained in:
2025-10-18 20:40:38 +02:00
parent 6357ec773f
commit 1db3f7af64
26 changed files with 548 additions and 578 deletions

View File

@@ -84,7 +84,7 @@ export enum BatteryBoardVersion {
}
export enum BoardVersion {
INITIAL = "INITIAL",
Initial = "Initial",
V3 = "V3",
V4 = "V4"
}
@@ -200,4 +200,4 @@ export interface TankInfo {
/// water temperature
water_temp: number | null,
temp_sensor_error: string | null
}
}

View File

@@ -12,7 +12,7 @@ export class HardwareConfigView {
Object.keys(BoardVersion).forEach(version => {
let option = document.createElement("option");
if (version == BoardVersion.INITIAL.toString()){
if (version == BoardVersion.Initial.toString()){
option.selected = true
}
option.innerText = version.toString();
@@ -42,4 +42,4 @@ export class HardwareConfigView {
battery : BatteryBoardVersion[this.hardware_battery_value.value as keyof typeof BatteryBoardVersion],
}
}
}
}