Skip to content

Commit 4cda2b4

Browse files
committed
fix deployed state fallback
1 parent bd2838a commit 4cda2b4

File tree

1 file changed

+1
-1
lines changed
  • apps/sim/stores/workflows/workflow

1 file changed

+1
-1
lines changed

apps/sim/stores/workflows/workflow/store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,7 @@ export const useWorkflowStore = create<WorkflowStore>()(
11191119

11201120
const newState = {
11211121
blocks: deployedState.blocks,
1122-
edges: filterValidEdges(deployedState.edges || [], deployedState.blocks || {}),
1122+
edges: filterValidEdges(deployedState.edges, deployedState.blocks),
11231123
loops: deployedState.loops || {},
11241124
parallels: deployedState.parallels || {},
11251125
needsRedeployment: false,

0 commit comments

Comments
 (0)