mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 21:19:43 -08:00
Fix oauth2 connect UI
This commit is contained in:
parent
31ca6be3a5
commit
4a2828a2f3
|
@ -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');
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue