mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
fix(editor): Fix rundata type errors (no-changelog) (#9443)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<RunData
|
||||
v-if="currentNode"
|
||||
:node="currentNode"
|
||||
:run-index="runIndex"
|
||||
:linked-runs="linkedRuns"
|
||||
@@ -112,7 +113,7 @@
|
||||
type="secondary"
|
||||
hide-icon
|
||||
:transparent="true"
|
||||
:node-name="isActiveNodeConfig ? rootNode : currentNodeName"
|
||||
:node-name="isActiveNodeConfig ? rootNode : currentNodeName ?? ''"
|
||||
:label="$locale.baseText('ndv.input.noOutputData.executePrevious')"
|
||||
telemetry-source="inputs"
|
||||
data-test-id="execute-previous-node"
|
||||
@@ -328,7 +329,7 @@ export default defineComponent({
|
||||
|
||||
rootNode(): string {
|
||||
const workflow = this.currentWorkflow;
|
||||
const rootNodes = workflow.getChildNodes(this.activeNode.name, 'ALL_NON_MAIN');
|
||||
const rootNodes = workflow.getChildNodes(this.activeNode?.name ?? '', 'ALL_NON_MAIN');
|
||||
|
||||
return rootNodes[0];
|
||||
},
|
||||
@@ -350,7 +351,7 @@ export default defineComponent({
|
||||
return this.activeNode;
|
||||
}
|
||||
|
||||
return this.workflowsStore.getNodeByName(this.currentNodeName);
|
||||
return this.workflowsStore.getNodeByName(this.currentNodeName ?? '');
|
||||
},
|
||||
connectedCurrentNodeOutputs(): number[] | undefined {
|
||||
const search = this.parentNodes.find(({ name }) => name === this.currentNodeName);
|
||||
|
||||
Reference in New Issue
Block a user