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

@@ -148,7 +148,7 @@ export const nodeHelpers = mixins(
// Updates the parameter-issues of the node
updateNodeParameterIssues(node: INodeUi, nodeType?: INodeTypeDescription): void {
if (nodeType === undefined) {
nodeType = this.$store.getters.nodeType(node.type);
nodeType = this.$store.getters.nodeType(node.type, node.typeVersion);
}
if (nodeType === null) {
@@ -179,7 +179,7 @@ export const nodeHelpers = mixins(
}
if (nodeType === undefined) {
nodeType = this.$store.getters.nodeType(node.type);
nodeType = this.$store.getters.nodeType(node.type, node.typeVersion);
}
if (nodeType === null || nodeType!.credentials === undefined) {