fix: fix resultjobloader

This commit is contained in:
Ruben Fiszel
2024-01-07 14:12:20 +01:00
committed by GitHub
parent 30a30f81e0
commit 2e023003da
@@ -177,7 +177,7 @@
if (currentId === id || allowConcurentRequests) {
job = { ...maybe_job, id }
await tick()
if ('error' in job.result ?? {}) {
if ('error' in (job.result ?? {})) {
callbacks?.error()
dispatch('doneError', {
id,