Fix node-versioning issues in editor-UI

This commit is contained in:
Jan Oberhauser
2022-02-05 12:57:48 +01:00
parent c7e73d757a
commit ff74feefe4
10 changed files with 15 additions and 15 deletions

View File

@@ -540,7 +540,7 @@ export default mixins(
return outputIndex + 1;
}
const nodeType = this.$store.getters.nodeType(this.node.type) as INodeTypeDescription | null;
const nodeType = this.$store.getters.nodeType(this.node.type, this.node.typeVersion) as INodeTypeDescription | null;
if (!nodeType || !nodeType.outputNames || nodeType.outputNames.length <= outputIndex) {
return outputIndex + 1;
}