fix: workflow restore (#3711)

This commit is contained in:
zxhlyh
2024-04-23 17:02:23 +08:00
committed by GitHub
parent 96160837d2
commit 83caffe000
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])