fix(js): release parallel pending state

When data-slhx-policy=parallel runs overlapping requests against one target, release pending UI bookkeeping for each completed request instead of only the last pending handle.

req: convention/006

req: convention/007

req: convention/008
This commit is contained in:
slhx agent
2026-06-01 20:24:43 +02:00
parent e6486c1b35
commit 4295e93da7
2 changed files with 13 additions and 0 deletions
+2
View File
@@ -214,6 +214,8 @@
if (pending.get(target)?.abort === abort) {
pending.delete(target);
showPending(target, false);
} else if (policy === "parallel") {
showPending(target, false);
}
finish();
}