fix(editor): improve expression and parameters performance (#3874)

* fix expr perf issue

* refactor a bit
This commit is contained in:
Mutasem Aldmour
2022-08-12 16:06:57 +02:00
committed by GitHub
parent 762b422488
commit 3608d132c0
10 changed files with 36 additions and 23 deletions

View File

@@ -51,7 +51,7 @@ export default mixins(
let runIndex = 0;
const executedWorkflow: IExecutionResponse | null = this.$store.getters.getWorkflowExecution;
const workflow = this.getWorkflow();
const workflow = this.getCurrentWorkflow();
const activeNode: INodeUi | null = this.$store.getters.activeNode;
const parentNode = workflow.getParentNodes(activeNode!.name, inputName, 1);
const nodeConnection = workflow.getNodeConnectionIndexes(activeNode!.name, parentNode[0]) || {