Skip to content

Commit

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

Signed-off-by: Marek Libra <[email protected]>
  • Loading branch information
mareklibra committed Nov 12, 2024
1 parent bf86ce7 commit cbd22a2
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 cbd22a2

Please sign in to comment.