diff --git a/packages/editor-ui/src/components/ParameterInput.vue b/packages/editor-ui/src/components/ParameterInput.vue index 27f9a92b6dd32..0baa0d4d3398b 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 733b438940c89..c64ff82ae3c93 100644 --- a/packages/editor-ui/src/components/ParameterInputFull.vue +++ b/packages/editor-ui/src/components/ParameterInputFull.vue @@ -1,7 +1,7 @@