File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
apps/sim/app/workspace/[workspaceId]/w/[workflowId] Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ import {
6161} from '@/app/workspace/[workspaceId]/w/[workflowId]/utils'
6262import { useSocket } from '@/app/workspace/providers/socket-provider'
6363import { getBlock } from '@/blocks'
64+ import { isAnnotationOnlyBlock } from '@/executor/constants'
6465import { useWorkspaceEnvironment } from '@/hooks/queries/environment'
6566import { useAutoConnect , useSnapToGridSize } from '@/hooks/queries/general-settings'
6667import { useCanvasViewport } from '@/hooks/use-canvas-viewport'
@@ -1099,6 +1100,7 @@ const WorkflowContent = React.memo(() => {
10991100 const isAutoConnectSourceCandidate = useCallback ( ( block : BlockState ) : boolean => {
11001101 if ( ! block . enabled ) return false
11011102 if ( block . type === 'response' ) return false
1103+ if ( isAnnotationOnlyBlock ( block . type ) ) return false
11021104 return true
11031105 } , [ ] )
11041106
You can’t perform that action at this time.
0 commit comments