diff --git a/.changeset/pretty-avocados-talk.md b/.changeset/pretty-avocados-talk.md new file mode 100644 index 0000000000..48502c764d --- /dev/null +++ b/.changeset/pretty-avocados-talk.md @@ -0,0 +1,5 @@ +--- +"@janus-idp/backstage-plugin-orchestrator": patch +--- + +Fix filtering by status on the Workflow Runs tab. diff --git a/plugins/orchestrator/src/components/WorkflowRunsTabContent.tsx b/plugins/orchestrator/src/components/WorkflowRunsTabContent.tsx index fc827be05a..a8ad24b60e 100644 --- a/plugins/orchestrator/src/components/WorkflowRunsTabContent.tsx +++ b/plugins/orchestrator/src/components/WorkflowRunsTabContent.tsx @@ -101,7 +101,7 @@ export const WorkflowRunsTabContent = () => { (value ?? []).filter( (row: WorkflowRunDetail) => statusSelectorValue === Selector.AllItems || - row.status === statusSelectorValue, + row.status.toUpperCase() === statusSelectorValue, ), [statusSelectorValue, value], );