mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-24 06:18:04 -05:00
fix deployed state fallback
This commit is contained in:
@@ -1119,7 +1119,7 @@ export const useWorkflowStore = create<WorkflowStore>()(
|
||||
|
||||
const newState = {
|
||||
blocks: deployedState.blocks,
|
||||
edges: filterValidEdges(deployedState.edges || [], deployedState.blocks || {}),
|
||||
edges: filterValidEdges(deployedState.edges, deployedState.blocks),
|
||||
loops: deployedState.loops || {},
|
||||
parallels: deployedState.parallels || {},
|
||||
needsRedeployment: false,
|
||||
|
||||
Reference in New Issue
Block a user