Skip to content

Commit 3c8e4eb

Browse files
committed
fix(webapp): forward region and task-type filters to the smart-column sample
The sample loader forwarded every active filter except regions and taskKinds, so with a region or task-type filter applied the preview could sample runs not in the filtered list. Pass both through to match the list.
1 parent 61cba49 commit 3c8e4eb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.smart-column-sample.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@ export async function loader({ request, params }: LoaderFunctionArgs) {
5252
runId: filters.runId,
5353
bulkId: filters.bulkId,
5454
queues: filters.queues,
55+
regions: filters.regions,
5556
machines: filters.machines,
5657
errorId: filters.errorId,
58+
taskKinds: filters.sources,
5759
runSelect: deriveRunSelect([], [source]),
5860
page: { size: SAMPLE_RUN_COUNT },
5961
});

0 commit comments

Comments
 (0)