👕 Fix lint issue

This commit is contained in:
Jan Oberhauser 2020-09-23 13:31:03 +02:00
parent b164470239
commit 5cb5020cf6

View file

@ -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;