summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-12-03 18:19:58 +0700
committeraltaf-creator <dev@altafcreator.com>2025-12-03 18:19:58 +0700
commit603d70b13168af33a04b376224a14b97288debe5 (patch)
tree7e7f19236625153f94f72181300e38d0f98ad5d0
parentb245e246cf0596b735dccbec06a60b05ad2a68dd (diff)
?
-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 : '?'}`
})();