mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
fix(editor): Remove cloud check when pre-selecting auth options (no-changelog) (#5711)
This commit is contained in:
parent
fb8755ea3c
commit
341bfb810f
|
@ -401,14 +401,12 @@ export const getNodeAuthOptions = (
|
|||
field.options.map((option) => {
|
||||
// Check if credential type associated with this auth option has overwritten properties
|
||||
let hasOverrides = false;
|
||||
if (useSettingsStore().isCloudDeployment) {
|
||||
const cred = getNodeCredentialForSelectedAuthType(nodeType, option.value);
|
||||
if (cred) {
|
||||
hasOverrides =
|
||||
useCredentialsStore().getCredentialTypeByName(cred.name).__overwrittenProperties !==
|
||||
undefined;
|
||||
}
|
||||
}
|
||||
return {
|
||||
name:
|
||||
// Add recommended suffix if credentials have overrides and option is not already recommended
|
||||
|
|
Loading…
Reference in a new issue