mirror of https://github.com/langgenius/dify.git
fix: remove setPublishedAt on handleRestoreFromPublishedWorkflow (#17358)
This commit is contained in:
parent
fd1e40d22e
commit
4f286c9073
|
|
@ -342,7 +342,6 @@ export const useWorkflowRun = () => {
|
|||
}
|
||||
|
||||
featuresStore?.setState({ features: mappedFeatures })
|
||||
workflowStore.getState().setPublishedAt(publishedWorkflow.created_at)
|
||||
workflowStore.getState().setEnvironmentVariables(publishedWorkflow.environment_variables || [])
|
||||
}, [featuresStore, handleUpdateWorkflowCanvas, workflowStore])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue