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:
Csaba Tuncsik
2025-07-10 09:30:27 +02:00
committed by GitHub
parent bd6d954253
commit 8fff83032c
11 changed files with 284 additions and 49 deletions

View File

@@ -311,9 +311,7 @@ const subworkflowExecutionError = computed(() => {
} as NodeError;
});
const hasSubworkflowExecutionError = computed(() =>
Boolean(workflowsStore.subWorkflowExecutionError),
);
const hasSubworkflowExecutionError = computed(() => !!workflowsStore.subWorkflowExecutionError);
// Sub-nodes may wish to display the parent node error as it can contain additional metadata
const parentNodeError = computed(() => {
@@ -1775,7 +1773,7 @@ defineExpose({ enterEditMode });
v-else-if="hasNodeRun && !inputData.length && !displaysMultipleNodes && !search"
:class="$style.center"
>
<slot name="no-output-data">xxx</slot>
<slot name="no-output-data"></slot>
</div>
<div