mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
✏️ Shorten cred name in scopes notice
This commit is contained in:
parent
6d07fc2d8d
commit
4a6e78dc0e
|
@ -345,7 +345,9 @@ export default mixins(
|
||||||
|
|
||||||
this.scopes = await this.restApi().getScopes(activeCredentialType);
|
this.scopes = await this.restApi().getScopes(activeCredentialType);
|
||||||
|
|
||||||
this.activeCredential = this.getCredentialTypeByName(activeCredentialType).displayName;
|
const credentialType = this.getCredentialTypeByName(activeCredentialType);
|
||||||
|
|
||||||
|
this.activeCredential = credentialType.displayName.split(' ').shift() || '';
|
||||||
},
|
},
|
||||||
onNodeExecute () {
|
onNodeExecute () {
|
||||||
this.$emit('execute');
|
this.$emit('execute');
|
||||||
|
|
Loading…
Reference in a new issue