diff options
| -rw-r--r-- | frontend/status.js | 5 |
1 files changed, 2 insertions, 3 deletions
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 : '?'}` })(); |
