mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-07 08:02:40 +00:00
fix failed jobs being caught as errors on serach UI (#7928)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user