fix: Prevent workflow breaking when credential type is unknown (#6923)
This commit is contained in:
@@ -212,7 +212,7 @@ export const getNodeAuthOptions = (
|
||||
const cred = getNodeCredentialForSelectedAuthType(nodeType, option.value);
|
||||
if (cred) {
|
||||
hasOverrides =
|
||||
useCredentialsStore().getCredentialTypeByName(cred.name).__overwrittenProperties !==
|
||||
useCredentialsStore().getCredentialTypeByName(cred.name)?.__overwrittenProperties !==
|
||||
undefined;
|
||||
}
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user