mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
🐛 Fix errors with unknown nodeTypes
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<div class="header-side-menu">
|
||||
<span v-if="node">
|
||||
<display-with-change :key-name="'name'" @valueChanged="valueChanged"></display-with-change>
|
||||
<a :href="'http://n8n.io/nodes/' + nodeType.name" target="_blank" class="node-info">
|
||||
<a v-if="nodeType" :href="'http://n8n.io/nodes/' + nodeType.name" target="_blank" class="node-info">
|
||||
<el-tooltip class="clickable" placement="top" effect="light">
|
||||
<div slot="content" v-html="'<strong>Node Description:</strong><br />' + nodeTypeDescription + '<br /><br /><strong>For more information and usage examples click!</strong>'"></div>
|
||||
<font-awesome-icon icon="question-circle" />
|
||||
@@ -89,8 +89,8 @@ export default mixins(
|
||||
return null;
|
||||
},
|
||||
nodeTypeDescription (): string {
|
||||
if (this.nodeType!.description) {
|
||||
return this.nodeType!.description;
|
||||
if (this.nodeType && this.nodeType.description) {
|
||||
return this.nodeType.description;
|
||||
} else {
|
||||
return 'No description found';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user