Skip to content

Commit c6342fd

Browse files
committed
fix: Tool workflow restricts the deletion of basic nodes and start nodes
1 parent 34fb95b commit c6342fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/src/workflow/common/shortcut.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ export function initDefaultShortcut(lf: LogicFlow, graph: GraphModel) {
104104
const nodes = elements.nodes.filter((node) =>
105105
[
106106
'start-node',
107+
'tool-start-node',
108+
'tool-base-node',
107109
'base-node',
108110
'loop-body-node',
109111
'loop-start-node',

0 commit comments

Comments
 (0)