mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(editor): Waiting executions broken - Chat, Form, Wait (no-changelog) (#15343)
This commit is contained in:
@@ -21,7 +21,6 @@ import type {
|
||||
ExpressionError,
|
||||
IDataObject,
|
||||
IRunExecutionData,
|
||||
IRunData,
|
||||
} from 'n8n-workflow';
|
||||
import { codeNodeEditorEventBus, globalLinkActionsEventBus } from '@/event-bus';
|
||||
import { h } from 'vue';
|
||||
@@ -467,8 +466,6 @@ export function setRunExecutionData(
|
||||
runExecutionData.resultData.runData = workflowsStore.getWorkflowRunData;
|
||||
}
|
||||
|
||||
removeRunningTaskData(runExecutionData.resultData.runData);
|
||||
|
||||
workflowsStore.executingNode.length = 0;
|
||||
|
||||
workflowsStore.setWorkflowExecutionData({
|
||||
@@ -508,11 +505,3 @@ export function setRunExecutionData(
|
||||
const lineNumber = runExecutionData.resultData?.error?.lineNumber;
|
||||
codeNodeEditorEventBus.emit('highlightLine', lineNumber ?? 'last');
|
||||
}
|
||||
|
||||
function removeRunningTaskData(runData: IRunData): void {
|
||||
for (const [nodeName, taskItems] of Object.entries(runData)) {
|
||||
if (taskItems.some((item) => item.executionStatus === 'running')) {
|
||||
runData[nodeName] = taskItems.filter((item) => item.executionStatus !== 'running');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user