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