fix(editor): Remove cloud check when pre-selecting auth options (no-changelog) (#5711)

This commit is contained in:
Milorad FIlipović
2023-03-17 15:14:55 +01:00
committed by GitHub
parent fb8755ea3c
commit 341bfb810f

View File

@@ -401,13 +401,11 @@ 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;
}
const cred = getNodeCredentialForSelectedAuthType(nodeType, option.value);
if (cred) {
hasOverrides =
useCredentialsStore().getCredentialTypeByName(cred.name).__overwrittenProperties !==
undefined;
}
return {
name: