From 5cb5020cf688917c2b83d6e81eb41bf4e5eb8719 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Wed, 23 Sep 2020 13:31:03 +0200 Subject: [PATCH] :shirt: Fix lint issue --- packages/editor-ui/src/components/CredentialsEdit.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/editor-ui/src/components/CredentialsEdit.vue b/packages/editor-ui/src/components/CredentialsEdit.vue index 75c800727c..49e3a12acd 100644 --- a/packages/editor-ui/src/components/CredentialsEdit.vue +++ b/packages/editor-ui/src/components/CredentialsEdit.vue @@ -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;