fix failed jobs being caught as errors on serach UI (#7928)

This commit is contained in:
wendrul
2026-02-12 18:04:18 +00:00
committed by GitHub
parent 51f4c4eb76
commit 1d7e5ec7c2
@@ -80,8 +80,11 @@
isLoadingJobDetails = false
},
doneError({ error }) {
loadError = error?.body || error?.message || 'Failed to load job details'
currentJob = undefined
// Only show error state if we couldn't load the job data
// If the job failed but we have the job object, let it display normally
if (!currentJob) {
loadError = error?.body || error?.message || 'Failed to load job details'
}
isLoadingJobDetails = false
},
change() {