🔀 Merge pull request #417 from TMaYaD/oauth-support

Fix oauth2 connect UI
This commit is contained in:
Jan 2020-03-27 14:53:29 +01:00 committed by GitHub
commit 995ac3d9b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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');
},