mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
👕 Fix lint issue
This commit is contained in:
@@ -112,15 +112,16 @@ export default mixins(
|
|||||||
documentationUrl (): string | undefined {
|
documentationUrl (): string | undefined {
|
||||||
let credentialTypeName = '';
|
let credentialTypeName = '';
|
||||||
if (this.editCredentials) {
|
if (this.editCredentials) {
|
||||||
credentialTypeName = this.editCredentials.type;
|
credentialTypeName = this.editCredentials.type as string;
|
||||||
} else {
|
} else {
|
||||||
credentialTypeName = this.credentialType;
|
credentialTypeName = this.credentialType as string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const credentialType = this.$store.getters.credentialType(credentialTypeName);
|
const credentialType = this.$store.getters.credentialType(credentialTypeName);
|
||||||
if (credentialType.documentationUrl !== undefined) {
|
if (credentialType.documentationUrl !== undefined) {
|
||||||
return `${credentialType.documentationUrl}`;
|
return `${credentialType.documentationUrl}`;
|
||||||
}
|
}
|
||||||
|
return undefined;
|
||||||
},
|
},
|
||||||
node (): INodeUi {
|
node (): INodeUi {
|
||||||
return this.$store.getters.activeNode;
|
return this.$store.getters.activeNode;
|
||||||
|
|||||||
Reference in New Issue
Block a user