We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ff0354 commit 23279feCopy full SHA for 23279fe
redisinsight/ui/src/pages/home/components/AddInstanceForm/InstanceFormWrapper.tsx
@@ -66,7 +66,7 @@ const getInitialValues = (editedInstance: Nullable<Instance>) => ({
66
tls: !!editedInstance?.tls ?? false,
67
ssh: !!editedInstance?.ssh ?? false,
68
sshPassType: editedInstance?.sshOptions
69
- ? (editedInstance.sshOptions.password ? SshPassType.Password : SshPassType.PrivateKey)
+ ? (editedInstance.sshOptions.privateKey ? SshPassType.PrivateKey : SshPassType.Password)
70
: SshPassType.Password
71
})
72
0 commit comments