Watch
0
0
Fork
You've already forked hyperhive
0

swarm ui: remove the config PR filter from the agents page

The filter bar no longer offers a filter on an agent's config PR. A
filter saved on it before is dropped by the table's existing handling of
columns that no longer exist.
This commit is contained in:
iris 2026-11-22 22:31:44 +01:00
commit c24f3c3d88

View file

@ -92,12 +92,6 @@ const FIELDS: FilterColumn<AgentRow>[] = [
filterValues: (a) => [a.wanted ?? "no declaration"],
filterMode: "multiselect",
},
{
key: "config-pr",
header: "config PR",
sortBy: (a) => a.config_pr?.pr_number ?? 0,
filterValue: (a) => (a.config_pr ? `#${a.config_pr.pr_number}` : ""),
},
];
export function AgentsPage() {