fix autoscale maxTemp of tempchart
Signed-off-by: Stefan Dej <meteyou@gmail.com>
This commit is contained in:
1 parent
93f71e1f18
commit
ab79857fbe
1 file changed
+1
-1
@@ -37,6 +37,6 @@ export default {
|
||||
}
|
||||
})
|
||||
|
||||
return maxTemp + 10
|
||||
return Math.ceil((maxTemp + 1) / 10) * 10
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user