mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
refactor(editor): renaming computed prop because not only string inputs can be mapped, but we want to show tooltips only on string inputs
This commit is contained in:
parent
8b82d724f5
commit
be16640687
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue