Skip to content

Commit

Permalink
fix(orchestrator): filter workflow runs by status (#2520)
Browse files Browse the repository at this point in the history
Fixes: FLPATH-1851

Signed-off-by: Marek Libra <mlibra@redhat.com>
  • Loading branch information
mareklibra authored Nov 12, 2024
1 parent e94a6c1 commit 358dbfd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/pretty-avocados-talk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@janus-idp/backstage-plugin-orchestrator": patch
---

Fix filtering by status on the Workflow Runs tab.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const WorkflowRunsTabContent = () => {
(value ?? []).filter(
(row: WorkflowRunDetail) =>
statusSelectorValue === Selector.AllItems ||
row.status === statusSelectorValue,
row.status?.toUpperCase() === statusSelectorValue,
),
[statusSelectorValue, value],
);
Expand Down

0 comments on commit 358dbfd

Please sign in to comment.