mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
👕 Fix lint issue
This commit is contained in:
parent
b164470239
commit
5cb5020cf6
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue