diff --git a/web/app/components/rag-pipeline/hooks/use-pipeline-run.ts b/web/app/components/rag-pipeline/hooks/use-pipeline-run.ts index 11031b0a56..4ed8cb95c7 100644 --- a/web/app/components/rag-pipeline/hooks/use-pipeline-run.ts +++ b/web/app/components/rag-pipeline/hooks/use-pipeline-run.ts @@ -287,10 +287,9 @@ export const usePipelineRun = () => { ) const handleStopRun = useCallback((taskId: string) => { - const { pipelineId, setShowDebugAndPreviewPanel } = workflowStore.getState() + const { pipelineId } = workflowStore.getState() stopWorkflowRun(`/rag/pipeline/${pipelineId}/workflow-runs/tasks/${taskId}/stop`) - setShowDebugAndPreviewPanel(false) }, [workflowStore]) const handleRestoreFromPublishedWorkflow = useCallback((publishedWorkflow: VersionHistory) => {