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:
@@ -214,6 +214,8 @@
|
||||
if (pending.get(target)?.abort === abort) {
|
||||
pending.delete(target);
|
||||
showPending(target, false);
|
||||
} else if (policy === "parallel") {
|
||||
showPending(target, false);
|
||||
}
|
||||
finish();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user