File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
redisinsight/ui/src/pages/home/components/manual-connection Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -214,11 +214,11 @@ const ManualConnectionWrapper = (props: Props) => {
214
214
// clicked. Once the apply is clicked, the editedInstance object
215
215
// that is validated against, still has the older certificates
216
216
// attached. Attaching the new certs to the final object helps.
217
- if ( values . selectedCaCertName === ' ADD_NEW_CA_CERT' && values . newCaCertName !== '' && values . newCaCertName === editedInstance . caCert ?. name ) {
217
+ if ( values . selectedCaCertName === ADD_NEW_CA_CERT && values . newCaCertName !== '' && values . newCaCertName === editedInstance . caCert ?. name ) {
218
218
updatedValues . caCert = database . caCert
219
219
}
220
220
221
- if ( values . selectedTlsClientCertId === ' ADD_NEW' && values . newTlsCertPairName !== '' && values . selectedTlsClientCertName === editedInstance . newTlsCertPairName ?. name ) {
221
+ if ( values . selectedTlsClientCertId === ADD_NEW && values . newTlsCertPairName !== '' && values . selectedTlsClientCertName === editedInstance . newTlsCertPairName ?. name ) {
222
222
updatedValues . clientCert = database . clientCert
223
223
}
224
224
You can’t perform that action at this time.
0 commit comments