mirror of
https://github.com/langgenius/dify.git
synced 2026-04-25 21:26:15 +08:00
refactor(workflow)!: persist workflowRunningData when closing debug panel
Keep test run results (RESULT/DETAIL/TRACING tabs) available after closing and reopening the debug panel, or switching between Graph and Skill views.
This commit is contained in:
@ -44,7 +44,6 @@ export const useWorkflowInteractions = () => {
|
||||
const isActiveRun = runningStatus === WorkflowRunningStatus.Running || runningStatus === WorkflowRunningStatus.Waiting
|
||||
workflowStore.setState({
|
||||
showDebugAndPreviewPanel: false,
|
||||
...(isActiveRun ? {} : { workflowRunningData: undefined }),
|
||||
})
|
||||
if (!isActiveRun) {
|
||||
handleNodeCancelRunningStatus()
|
||||
|
||||
Reference in New Issue
Block a user