mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-08 00:02:27 +00:00
fix simple step flow rendering for while loop (#4804)
This commit is contained in:
@@ -713,7 +713,7 @@
|
||||
|
||||
if (jobLoaded.job_kind == 'script' || jobLoaded.job_kind == 'flowscript' || jobLoaded.job_kind == 'preview') {
|
||||
let id: string | undefined = undefined
|
||||
if (innerModule?.type == 'forloopflow' && innerModule.modules.length == 1) {
|
||||
if ((innerModule?.type == 'forloopflow' || innerModule?.type == 'whileloopflow') && innerModule.modules.length == 1) {
|
||||
id = innerModule?.modules?.[0]?.id
|
||||
}
|
||||
if (id) {
|
||||
|
||||
Reference in New Issue
Block a user