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

@@ -385,7 +385,7 @@ export default mixins(
}
},
setSubtitle() {
const nodeSubtitle = this.getNodeSubtitle(this.data, this.nodeType, this.getWorkflow()) || '';
const nodeSubtitle = this.getNodeSubtitle(this.data, this.nodeType, this.getCurrentWorkflow()) || '';
this.nodeSubtitle = nodeSubtitle.includes(CUSTOM_API_CALL_KEY)
? ''