Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: retrying a broadcast shows the agents that failed, even ones the filter hides

This commit is contained in:
iris 2026-10-18 02:34:42 +02:00 • committed by mara
commit f65364759f

View file

@ -25,6 +25,7 @@ import {
import { TextAreaField } from "../../ui/text-area-field/TextAreaField.js";
import {
failedAgents,
filterShowing,
isRunning,
parseResults,
selectedVisible,
@ -130,7 +131,10 @@ export function BroadcastPage() {
}
function retryFailed(results: BroadcastResult[]) {
setTicked(failedAgents(results));
const failed = failedAgents(results);
// Only this page's view changes; the saved choice stays as it was.
setFilterState(filterShowing(filter, all, failed));
setTicked(failed);
setSend({ status: "idle" });
}