mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-25 16:02:11 +00:00
committed by
GitHub
parent
331356c991
commit
ada4d653f4
@@ -91,11 +91,13 @@
|
||||
} else {
|
||||
job = await JobService.getJob({ workspace: $workspaceStore!, id })
|
||||
}
|
||||
if (job?.type === 'CompletedJob' && isLoading) {
|
||||
if (job?.type === 'CompletedJob') {
|
||||
//only CompletedJob has success property
|
||||
dispatch('done', job)
|
||||
clearInterval(intervalId)
|
||||
isLoading = false
|
||||
if (isLoading) {
|
||||
dispatch('done', job)
|
||||
isLoading = false
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
console.error(err)
|
||||
|
||||
Reference in New Issue
Block a user