From becf42ebbcb5a79081b1fc69fca3c6eef5ddf56b Mon Sep 17 00:00:00 2001 From: Jakub Kicinski Date: Tue, 4 Jun 2024 06:22:26 -0700 Subject: [PATCH] ui: status: fix counting pending results as not missing Signed-off-by: Jakub Kicinski --- ui/status.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/status.js b/ui/status.js index 99bac7d..2b41ff1 100644 --- a/ui/status.js +++ b/ui/status.js @@ -456,13 +456,15 @@ function load_partial_tests(data) if (!missing) continue; - for (const pending in Object.keys(pending_executors)) { + for (const pending of Object.keys(pending_executors)) { if (name.startsWith(pending)) { if (missing == pending_executors[pending]) - continue; + missing = 0; break; } } + if (!missing) + continue; let row = table.insertRow(); row.insertCell(0).innerHTML = name;