diff --git a/packages/editor-ui/src/components/CredentialsEdit.vue b/packages/editor-ui/src/components/CredentialsEdit.vue index 4bea56cc2b..5699369c54 100644 --- a/packages/editor-ui/src/components/CredentialsEdit.vue +++ b/packages/editor-ui/src/components/CredentialsEdit.vue @@ -112,15 +112,20 @@ export default mixins( documentationUrl (): string { if (this.editCredentials) { const credentialType = this.$store.getters.credentialType(this.editCredentials.type); - return `${credentialType.documentationUrl}`; - } else { - if (this.credentialType) { - const credentialType = this.$store.getters.credentialType(this.credentialType); - return `${credentialType.documentationUrl}`; + if (credentialType.documentationUrl === undefined) { + return credentialType.name; } else { - return ``; + return `${credentialType.documentationUrl}`; + } + } else { + const credentialType = this.$store.getters.credentialType(this.credentialType); + if (credentialType.documentationUrl === undefined) { + return credentialType.name; + } else { + return `${credentialType.documentationUrl}`; } } + }, node (): INodeUi { return this.$store.getters.activeNode; @@ -348,8 +353,6 @@ export default mixins( min-width: 40%; } - - #help-logo { flex: 1; } diff --git a/packages/nodes-base/credentials/GmailOAuth2Api.credentials.ts b/packages/nodes-base/credentials/GmailOAuth2Api.credentials.ts index 63fe6916f1..ffe8f83d04 100644 --- a/packages/nodes-base/credentials/GmailOAuth2Api.credentials.ts +++ b/packages/nodes-base/credentials/GmailOAuth2Api.credentials.ts @@ -19,6 +19,7 @@ export class GmailOAuth2Api implements ICredentialType { 'googleOAuth2Api', ]; displayName = 'Gmail OAuth2 API'; + documentationUrl = 'google'; properties = [ { displayName: 'Scope',