mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-10 00:05:27 +00:00
nit
This commit is contained in:
@@ -23,12 +23,16 @@
|
||||
clearTimeout(scheduledForTimeout)
|
||||
queueState = undefined
|
||||
scheduledForTimeout = setTimeout(() => {
|
||||
JobService.getScheduledFor({
|
||||
workspace: workspace,
|
||||
id: jobId
|
||||
}).then((response) => {
|
||||
scheduledFor = response
|
||||
})
|
||||
try {
|
||||
JobService.getScheduledFor({
|
||||
workspace: workspace,
|
||||
id: jobId
|
||||
}).then((response) => {
|
||||
scheduledFor = response
|
||||
})
|
||||
} catch (error) {
|
||||
console.error('Failed to fetch scheduled for:', error)
|
||||
}
|
||||
}, 2000)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user