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