Skip to content

Commit

Permalink
Fix label for runs produces by a deleted recurring run
Browse files Browse the repository at this point in the history
  • Loading branch information
DaoDaoNoCode committed Jun 7, 2024
1 parent 34187a9 commit 16fd41f
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 16fd41f

Please sign in to comment.