diff --git a/packages/editor-ui/src/components/ParameterInput.vue b/packages/editor-ui/src/components/ParameterInput.vue index cbd4aa5c50..3483beb70a 100644 --- a/packages/editor-ui/src/components/ParameterInput.vue +++ b/packages/editor-ui/src/components/ParameterInput.vue @@ -87,7 +87,7 @@ o.name); }, - nodeType(): INodeTypeDescription | null { - if (!this.node) return null; - return this.nodeTypesStore.getNodeType(this.node.type, this.node.typeVersion); - }, - editorContent(): string | undefined { - if (!this.nodeType) { - return; - } - const editorProp = this.nodeType.properties.find( - (p) => p.typeOptions?.editor === (this.editorType as string), - ); - if (!editorProp) { - return; - } - return this.node.parameters[editorProp.name] as string; - }, }, methods: { isRemoteParameterOption(option: INodePropertyOptions) {