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