fix: remove setPublishedAt on handleRestoreFromPublishedWorkflow (#17358)

This commit is contained in:
诗浓 2025-04-02 21:32:21 +08:00 committed by GitHub
parent fd1e40d22e
commit 4f286c9073
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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])