Skip to content

Commit

Permalink
⚡ Handling auth selection when default auth type is the first option
Browse files Browse the repository at this point in the history
  • Loading branch information
MiloradFilipovic committed Jan 11, 2023
1 parent ccf5522 commit f4057c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor-ui/src/components/NodeCredentials.vue
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export default mixins(genericHelpers, nodeHelpers, restApi, showMessage).extend(
const oldAuth = oldValue[authField.name];
const newAuth = newValue[authField.name];
if (newAuth && oldAuth !== newAuth) {
if (newAuth) {
const credentialType = getNodeCredentialForAuthType(nodeType, newAuth.toString());
if (credentialType) {
this.subscribedToCredentialType = credentialType.name;
Expand Down

0 comments on commit f4057c3

Please sign in to comment.