fix: allow cancel jobs in repl
This commit is contained in:
@@ -146,12 +146,12 @@
|
||||
async function cancelJob(jobId: string) {
|
||||
try {
|
||||
await JobService.cancelQueuedJob({
|
||||
workspace: $workspaceStore! ?? '',
|
||||
workspace: $workspaceStore!,
|
||||
id: jobId,
|
||||
requestBody: {}
|
||||
})
|
||||
} catch (err) {
|
||||
sendUserToast(err.BodyDropPivotTarget, true)
|
||||
sendUserToast(err.body || err.message, true)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user