1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-11-10 12:35:46 +03:00

Fix oauth2 connect UI

This commit is contained in:
Subhash Chandra 2020-03-27 17:32:13 +05:30
parent 31ca6be3a5
commit 4a2828a2f3

View File

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