Programs page: deployment-kind filter chips (opt-in)
ProgramList gains a filterable prop; the Programs page enables it. Chips filter by whether a program has a deployment of that kind (membership over program.deployments), so a tool-and-job program shows under both Tool and Job. Counts are programs-per-kind. Tools page stays unfiltered (already scoped).
This commit is contained in:
@@ -12,7 +12,7 @@ export function Programs() {
|
||||
{isLoading ? (
|
||||
<p className="text-[var(--muted)]">Loading...</p>
|
||||
) : programs && programs.length > 0 ? (
|
||||
<ProgramList programs={programs} />
|
||||
<ProgramList programs={programs} filterable />
|
||||
) : (
|
||||
<p className="text-[var(--muted)]">No programs yet.</p>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user