mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-11 00:06:06 +00:00
update flow viewer
This commit is contained in:
@@ -123,7 +123,7 @@
|
||||
const branches = [
|
||||
{ summary: 'Default branch', modules: module.value.default },
|
||||
...module.value.branches.map((b, i) => ({
|
||||
summary: b.summary ?? 'Branch ' + (i + 1),
|
||||
summary: defaultIfEmptyString(b.summary, 'Branch ' + (i + 1)),
|
||||
modules: b.modules
|
||||
}))
|
||||
]
|
||||
@@ -136,7 +136,7 @@
|
||||
)
|
||||
} else if (type === 'branchall') {
|
||||
const branches = module.value.branches.map((b, i) => ({
|
||||
summary: b.summary ?? `Branch ${i + 1}`,
|
||||
summary: defaultIfEmptyString(b.summary, `Branch ${i + 1}`),
|
||||
modules: b.modules
|
||||
}))
|
||||
return flowModuleToBranch(module, branches, [], parent, insideLoop)
|
||||
|
||||
Reference in New Issue
Block a user