From 405557973ec679282722f6b609ef2749f3c4486a Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Wed, 3 Dec 2025 19:24:55 +0700 Subject: inf --- frontend/status.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'frontend') diff --git a/frontend/status.js b/frontend/status.js index 3d92fc1..5f55fe8 100644 --- a/frontend/status.js +++ b/frontend/status.js @@ -2,7 +2,6 @@ startUpdateMachines(); (async () => { const urlParams = new URLSearchParams(window.location.search); - const blk = await information(urlParams.get("machine")); - console.log("blk", blk); - document.getElementById("status-title").innerHTML = `Machine Status for H${blk ? blk : '?'}` + const inf = await information(urlParams.get("machine")); + document.getElementById("status-title").innerHTML = `Machine Status for H${inf ? inf.block : '?'}` })(); -- cgit v1.2.3