fix: workflow restore (#3711)

This commit is contained in:
zxhlyh 2024-04-23 17:02:23 +08:00 • committed by GitHub
commit 83caffe000
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 654 additions and 318 deletions

View file

@ -73,6 +73,7 @@ const Header: FC = () => {
const handleRestore = useCallback(() => {
workflowStore.setState({ isRestoring: false })
workflowStore.setState({ backupDraft: undefined })
handleSyncWorkflowDraft(true)
}, [handleSyncWorkflowDraft, workflowStore])