✏️ Shorten cred name in scopes notice

This commit is contained in:
Iván Ovejero 2022-05-09 11:07:31 +02:00
parent 6d07fc2d8d
commit 4a6e78dc0e

View file

@ -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');