fix: remove setPublishedAt on handleRestoreFromPublishedWorkflow (#17358)

pull/17390/head
诗浓 10 months ago committed by GitHub
parent fd1e40d22e
commit 4f286c9073
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save