Skip to content

Commit

Permalink
Only show pending activity/nexus for group filter
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Tideman committed Aug 26, 2024
1 parent 44ffd92 commit e688b37
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/lib/utilities/get-failed-or-pending.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ export const getFailedOrPendingEvents = (
return items.filter(
(item) =>
(isEvent(item) && item.classification === 'Failed') ||
(isEventGroup(item) &&
(item.isPending || item.finalClassification === 'Failed')) ||
isPendingActivity(item) ||
isPendingNexusOperation(item),
isPendingNexusOperation(item) ||
(isEventGroup(item) &&
(item.pendingActivity ||
item.pendingNexusOperation ||
item.finalClassification === 'Failed')),
);
};

Expand Down

0 comments on commit e688b37

Please sign in to comment.