🔀 Merge branch 'oauth-support' of github.com:n8n-io/n8n into oauth-support

This commit is contained in:
Jan Oberhauser 2020-03-28 19:10:11 +01:00
commit 1e68c16b40

View file

@ -194,6 +194,9 @@ export default mixins(
return this.credentialDataTemp; return this.credentialDataTemp;
}, },
isOAuthType (): boolean { isOAuthType (): boolean {
if (this.credentialTypeData.name === 'oAuth2Api') {
return true;
}
const types = this.parentTypes(this.credentialTypeData.name); const types = this.parentTypes(this.credentialTypeData.name);
return types.includes('oAuth2Api'); return types.includes('oAuth2Api');
}, },