Minor optimizations

This commit is contained in:
Iván Ovejero
2021-11-20 18:28:05 +01:00
parent d379d7ecf3
commit b4399a1c63
19 changed files with 144 additions and 99 deletions

View File

@@ -162,7 +162,7 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, renderText, workflow
return returnStyles;
},
shortNodeType (): string {
return this.data.type.replace('n8n-nodes-base.', '');
return this.$shortNodeType(this.data.type);
},
waiting (): string | undefined {
const workflowExecution = this.$store.getters.getWorkflowExecution;