From be16640687f39b9a472f40ca261eef6a9cfe3263 Mon Sep 17 00:00:00 2001 From: Csaba Tuncsik Date: Tue, 1 Nov 2022 16:38:11 +0100 Subject: [PATCH] refactor(editor): renaming computed prop because not only string inputs can be mapped, but we want to show tooltips only on string inputs --- packages/editor-ui/src/components/ParameterInputFull.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/editor-ui/src/components/ParameterInputFull.vue b/packages/editor-ui/src/components/ParameterInputFull.vue index 84d8214962..95b8ce59bb 100644 --- a/packages/editor-ui/src/components/ParameterInputFull.vue +++ b/packages/editor-ui/src/components/ParameterInputFull.vue @@ -143,7 +143,7 @@ export default mixins( hint (): string | null { return this.$locale.nodeText().hint(this.parameter, this.path); }, - isInputTypeMappable (): boolean { + isInputTypeString (): boolean { return this.parameter.type === 'string'; }, isResourceLocator (): boolean { @@ -162,7 +162,7 @@ export default mixins( return this.$store.getters['ndv/inputPanelDisplayMode']; }, showMappingTooltip (): boolean { - return this.focused && this.isInputTypeMappable && !this.isInputDataEmpty && window.localStorage.getItem(LOCAL_STORAGE_MAPPING_FLAG) !== 'true'; + return this.focused && this.isInputTypeString && !this.isInputDataEmpty && window.localStorage.getItem(LOCAL_STORAGE_MAPPING_FLAG) !== 'true'; }, }, methods: {