mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-22 00:01:34 +00:00
fix: refresh jobs result when hopping from flow to flow
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
export let job: QueuedJob | CompletedJob
|
||||
export let jobs: (CompletedJob | CompletedJob[] | undefined)[] = []
|
||||
|
||||
let lastJobid: string | undefined
|
||||
|
||||
let forloop_selected = ''
|
||||
|
||||
let logs: { [key: number]: string } = {}
|
||||
@@ -36,6 +38,10 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
if (job.id != lastJobid) {
|
||||
lastJobid = job.id
|
||||
jobs = []
|
||||
}
|
||||
job?.flow_status?.modules?.forEach(async (x, i) => {
|
||||
if (
|
||||
(i >= jobs.length && x.type == FlowStatusModule.type.SUCCESS) ||
|
||||
|
||||
Reference in New Issue
Block a user