diff options
| author | altaf-creator <dev@altafcreator.com> | 2026-01-23 09:52:35 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2026-01-23 09:52:35 +0800 |
| commit | e34fb9a6eaa41919b4861c80092b551dd2278855 (patch) | |
| tree | 06078ddda50098cf5ca2681c0d05fe9fa3c7472c /frontend/admin/admin.js | |
| parent | d1c4c217376699510c4f4167ce4748e67647c23f (diff) | |
}
Diffstat (limited to 'frontend/admin/admin.js')
| -rw-r--r-- | frontend/admin/admin.js | 2 |
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) { |
