summaryrefslogtreecommitdiff
path: root/frontend/admin
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2026-01-23 09:52:35 +0800
committeraltaf-creator <dev@altafcreator.com>2026-01-23 09:52:35 +0800
commite34fb9a6eaa41919b4861c80092b551dd2278855 (patch)
tree06078ddda50098cf5ca2681c0d05fe9fa3c7472c /frontend/admin
parentd1c4c217376699510c4f4167ce4748e67647c23f (diff)
}
Diffstat (limited to 'frontend/admin')
-rw-r--r--frontend/admin/admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/admin/admin.js b/frontend/admin/admin.js
index 77a8571..6f1ebce 100644
--- a/frontend/admin/admin.js
+++ b/frontend/admin/admin.js
@@ -54,7 +54,7 @@ async function overrideMachineStatus(block, machine) {
headers: {
"Content-Type": "application/json"
},
- body: `{"block": ${block}, "machine_id": ${machine}, "disabled": ${dropdown.selectedIndex == 1}`,
+ body: `{"block": ${block}, "machine_id": ${machine}, "disabled": ${dropdown.selectedIndex == 1}}`,
});
if (response.status != 200) {