summaryrefslogtreecommitdiff
path: root/frontend/status.js
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-12-03 18:41:25 +0700
committeraltaf-creator <dev@altafcreator.com>2025-12-03 18:41:25 +0700
commitfb40d3f256ab61e0ad41ad5e8b404ac656a839e2 (patch)
treec7d0726debc0e9f03347e05b4add6b2038fae860 /frontend/status.js
parent81939c4da9b7e6dc026b2d3d1b0ce1a74814c76f (diff)
why did i write it LIKE THAT PAST ME????!
Diffstat (limited to 'frontend/status.js')
-rw-r--r--frontend/status.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/status.js b/frontend/status.js
index 691c13a..b822e58 100644
--- a/frontend/status.js
+++ b/frontend/status.js
@@ -2,6 +2,6 @@ startUpdateMachines();
(async () => {
const urlParams = new URLSearchParams(window.location.search);
- const blk = await information(urlParams.get("machine"));
+ const blk = await information(urlParams.get("machine"))["block"];
document.getElementById("status-title").innerHTML = `Machine Status for H${blk ? blk : '?'}`
})();