Skip to content

Commit 67686ea

Browse files
committed
fix(a2a): removed deployment constraint for redeploying a2a workflows (#2796)
* fix(a2a): removed deployment constraint for redeploying a2a workflows * updated A2A tab copy state * consolidated trigger types const
1 parent 96a2979 commit 67686ea

File tree

1 file changed

+2
-3
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]

1 file changed

+2
-3
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/workflow.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2326,9 +2326,8 @@ const WorkflowContent = React.memo(() => {
23262326
/**
23272327
* Handles connection drag end. Detects if the edge was dropped over a block
23282328
* and automatically creates a connection to that block's target handle.
2329-
*
2330-
* Uses connectionCompletedRef to check if onConnect already handled this connection
2331-
* (ReactFlow pattern for distinguishing handle-to-handle vs handle-to-body drops).
2329+
* Only creates a connection if ReactFlow didn't already handle it (e.g., when
2330+
* dropping on the block body instead of a handle).
23322331
*/
23332332
const onConnectEnd = useCallback(
23342333
(event: MouseEvent | TouchEvent) => {

0 commit comments

Comments
 (0)