Skip to content

Commit

Permalink
✏️ Shorten cred name in scopes notice
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed May 9, 2022
1 parent 6d07fc2 commit 4a6e78d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/editor-ui/src/components/NodeSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 4a6e78d

Please sign in to comment.