Clamp pH graph values.

Commit
76b25a6a2332377182734925378059a3b09a7ce9
Author
Codex <codex@openai.com>
Author date
Committer
Codex <codex@openai.com>
Committer date
roles/dashboard/public/js/dashboard.js
index b2ba0d7f..9899c671 100644..100644
@@ -233,6 +233,10 @@
233 233 }
234 234
235 235 function yAxisBounds(probe, values) {
236 Added: if (probe === "ph") {
237 Added: return { min: 5, max: 9 };
238 Added: }
239 Added:
236 240 const numbers = values.filter(Number.isFinite);
237 241
238 242 if (!numbers.length) {