summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frontend/status.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontend/status.js b/frontend/status.js
index a64e9d0..691c13a 100644
--- a/frontend/status.js
+++ b/frontend/status.js
@@ -3,6 +3,5 @@ startUpdateMachines();
(async () => {
const urlParams = new URLSearchParams(window.location.search);
const blk = await information(urlParams.get("machine"));
- blk = blk ? '?' : blk;
- document.getElementById("status-title").innerHTML = `Machine Status for H${blk}`
+ document.getElementById("status-title").innerHTML = `Machine Status for H${blk ? blk : '?'}`
})();