mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(editor): Open failed node in failed execution from sub-workflow node (#17076)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -1322,13 +1322,13 @@ function trackRunWorkflowToNode(node: INodeUi) {
|
||||
void externalHooks.run('nodeView.onRunNode', telemetryPayload);
|
||||
}
|
||||
|
||||
async function onOpenExecution(executionId: string) {
|
||||
async function onOpenExecution(executionId: string, nodeId?: string) {
|
||||
canvasStore.startLoading();
|
||||
|
||||
resetWorkspace();
|
||||
await initializeData();
|
||||
|
||||
const data = await openExecution(executionId);
|
||||
const data = await openExecution(executionId, nodeId);
|
||||
if (!data) {
|
||||
return;
|
||||
}
|
||||
@@ -1581,7 +1581,7 @@ async function onPostMessageReceived(messageEvent: MessageEvent) {
|
||||
isProductionExecutionPreview.value =
|
||||
json.executionMode !== 'manual' && json.executionMode !== 'evaluation';
|
||||
|
||||
await onOpenExecution(json.executionId);
|
||||
await onOpenExecution(json.executionId, json.nodeId);
|
||||
canOpenNDV.value = json.canOpenNDV ?? true;
|
||||
hideNodeIssues.value = json.hideNodeIssues ?? false;
|
||||
isExecutionPreview.value = true;
|
||||
|
||||
Reference in New Issue
Block a user