diff --git a/frontend/src/concepts/pipelines/context/useJobRelatedInformation.ts b/frontend/src/concepts/pipelines/context/useJobRelatedInformation.ts index 8f87b237eb..c7b2a0cc4a 100644 --- a/frontend/src/concepts/pipelines/context/useJobRelatedInformation.ts +++ b/frontend/src/concepts/pipelines/context/useJobRelatedInformation.ts @@ -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; });