🔀 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

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