mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-29 19:10:43 +08:00
✏️ Shorten cred name in scopes notice
This commit is contained in:
@@ -345,7 +345,9 @@ export default mixins(
|
||||
|
||||
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 () {
|
||||
this.$emit('execute');
|
||||
|
||||
Reference in New Issue
Block a user