From deb05ec876d571937efbcfe80a8fcb2af2b57325 Mon Sep 17 00:00:00 2001 From: mango Date: Sun, 22 Feb 2026 19:04:04 +0800 Subject: [PATCH] fix: node filter from nodes list not requests --- public/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index 81abd4f..dab3fd8 100644 --- a/public/index.html +++ b/public/index.html @@ -152,8 +152,8 @@ function renderMatrix(){ function renderLogs(){ const reqs=DATA.requests||[]; - // Populate filters - const nodes=[...new Set(reqs.map(r=>r.node_name||r.node_id))].sort(); + // Populate filters from nodes (not requests) + const nodes=(DATA.nodes||[]).map(n=>n.name).sort(); const ups=[...new Set(reqs.map(r=>r.upstream))].sort(); const fN=$('#fNode'),fU=$('#fUp'); const nv=fN.value,uv=fU.value;