Skip to content

Commit

Permalink
Merge pull request #2891 from DaoDaoNoCode/jira-rhoaieng-7375
Browse files Browse the repository at this point in the history
Fix label for runs produces by a deleted recurring run
  • Loading branch information
openshift-merge-bot[bot] authored Jun 11, 2024
2 parents bc28f39 + 16fd41f commit ed9f7e4
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ const useJobRelatedInformation = (
.catch((e) => {
// eslint-disable-next-line no-console
console.error('Could not fetch job reference', e);
setJobStorage((jobState) => ({
...jobState,
[jobId]: { loading: false, data: null },
}));
loadedIds.current = loadedIds.current.filter((i) => i !== jobId);
return null;
});
Expand Down

0 comments on commit ed9f7e4

Please sign in to comment.