mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 16:02:14 +00:00
fix: handle better non object result for app result loader
This commit is contained in:
@@ -177,7 +177,7 @@
|
||||
if (currentId === id || allowConcurentRequests) {
|
||||
job = { ...maybe_job, id }
|
||||
await tick()
|
||||
if ('error' in (job?.result ?? {})) {
|
||||
if (typeof job?.result == 'object' && 'error' in (job?.result ?? {})) {
|
||||
callbacks?.error()
|
||||
dispatch('doneError', {
|
||||
id,
|
||||
|
||||
Reference in New Issue
Block a user