From 727d50177d54f053943bde72d244e29d5bdc1ecf Mon Sep 17 00:00:00 2001 From: Ilker Manap Date: Tue, 27 Oct 2026 19:18:55 +0100 Subject: [PATCH] ui: fix undefined location filter variable on the Machines page Co-Authored-By: Claude Fable 5.1 --- cmd/rollcall/web/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/rollcall/web/app.js b/cmd/rollcall/web/app.js index 6847970..f959609 100644 --- a/cmd/rollcall/web/app.js +++ b/cmd/rollcall/web/app.js @@ -172,6 +172,7 @@ function stateCell(m) { } function pageMachines() { const r = route(); if (r.arg && !S.states.size) S.states.add(r.arg); + const L = S.loc; const ms = filtered(); const by = {}; for (const m of S.machines) by[m.state] = (by[m.state] || 0) + 1; const tagCount = {}; for (const m of S.machines) for (const t of m.tags || []) tagCount[t] = (tagCount[t] || 0) + 1;