feat(frontend): fix No branch for branch one
This commit is contained in:
@@ -300,7 +300,7 @@ export default function graphBuilder(
|
||||
...extra
|
||||
},
|
||||
position: { x: -1, y: -1 },
|
||||
type: 'branchOneStart'
|
||||
type: 'noBranch'
|
||||
}
|
||||
|
||||
nodes.push(defaultBranch)
|
||||
|
||||
@@ -13,12 +13,13 @@
|
||||
eventHandlers: GraphEventHandlers
|
||||
flowModuleStates: Record<string, GraphModuleState> | undefined
|
||||
offset: number
|
||||
label: string | undefined
|
||||
}
|
||||
</script>
|
||||
|
||||
<NodeWrapper offset={data.offset} let:darkMode enableSourceHandle enableTargetHandle>
|
||||
<VirtualItem
|
||||
label={'No branches'}
|
||||
label={data.label ?? 'No branches'}
|
||||
modules={data.modules}
|
||||
id={data.id}
|
||||
hideId={true}
|
||||
|
||||
Reference in New Issue
Block a user