diff --git a/packages/editor-ui/src/components/ParameterInput.vue b/packages/editor-ui/src/components/ParameterInput.vue index 27f9a92b6d..0baa0d4d33 100644 --- a/packages/editor-ui/src/components/ParameterInput.vue +++ b/packages/editor-ui/src/components/ParameterInput.vue @@ -762,12 +762,12 @@ export default mixins( ? this.$locale.credText().placeholder(this.parameter) : this.$locale.nodeText().placeholder(this.parameter, this.path); }, - getOptionsOptionDisplayName(option: { value: string; name: string }): string { + getOptionsOptionDisplayName(option: INodePropertyOptions): string { return this.isForCredential ? this.$locale.credText().optionsOptionDisplayName(this.parameter, option) : this.$locale.nodeText().optionsOptionDisplayName(this.parameter, option, this.path); }, - getOptionsOptionDescription(option: { value: string; description: string }): string { + getOptionsOptionDescription(option: INodePropertyOptions): string { return this.isForCredential ? this.$locale.credText().optionsOptionDescription(this.parameter, option) : this.$locale.nodeText().optionsOptionDescription(this.parameter, option, this.path); diff --git a/packages/editor-ui/src/components/ParameterInputFull.vue b/packages/editor-ui/src/components/ParameterInputFull.vue index 733b438940..c64ff82ae3 100644 --- a/packages/editor-ui/src/components/ParameterInputFull.vue +++ b/packages/editor-ui/src/components/ParameterInputFull.vue @@ -1,7 +1,7 @@