mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
fix(duplicate): fixed detached state on duplication (#1011)
This commit is contained in:
@@ -1212,10 +1212,6 @@ export const useWorkflowRegistry = create<WorkflowRegistry>()(
|
||||
}))
|
||||
}
|
||||
|
||||
// Set as active workflow and update store
|
||||
set({ activeWorkflowId: id })
|
||||
useWorkflowStore.setState(newState)
|
||||
|
||||
// Workflow has already been persisted to the database via the duplication endpoint
|
||||
|
||||
logger.info(
|
||||
|
||||
Reference in New Issue
Block a user