adjust max frequency to actual existing ones, fix ui error state
This commit is contained in:
@@ -139,13 +139,13 @@ export class PlantView {
|
||||
}
|
||||
|
||||
update(a: number, b: number) {
|
||||
if (a = 200){
|
||||
if (a == 200){
|
||||
this.moistureA.innerText = "error"
|
||||
} else {
|
||||
this.moistureA.innerText = String(a)
|
||||
}
|
||||
|
||||
if (b = 200){
|
||||
if (b == 200){
|
||||
this.moistureB.innerText = "error"
|
||||
} else {
|
||||
this.moistureB.innerText = String(b)
|
||||
|
Reference in New Issue
Block a user