mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-20 16:02:19 +00:00
fix: fix upto preview issue with nested flows
This commit is contained in:
@@ -34,6 +34,9 @@
|
||||
return modules
|
||||
.filter((x) => idOrders.indexOf(x.id) <= upTo)
|
||||
.map((m) => {
|
||||
if (idOrders.indexOf(m.id) == upTo) {
|
||||
return m
|
||||
}
|
||||
if (m.value.type === 'forloopflow') {
|
||||
m.value.modules = sliceModules(m.value.modules, upTo, idOrders)
|
||||
} else if (m.value.type === 'branchone') {
|
||||
|
||||
Reference in New Issue
Block a user