Skip to content

Commit

Permalink
Remove TLS defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
insmac committed May 21, 2024
1 parent 91e67b4 commit 1102b50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/QuestDBConfigEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -299,13 +299,13 @@ export const ConfigEditor: React.FC<Props> = (props) => {
width={40}
className="gf-form"
options={tlsModes}
value={jsonData.tlsMode || PostgresTLSModes.disable}
value={jsonData.tlsMode}
onChange={(e) => onTlsModeChange(e.value)}
placeholder={Components.ConfigEditor.TlsMode.placeholder}
/>
</Field>

{jsonData.tlsMode !== PostgresTLSModes.disable ? (
{jsonData.tlsMode && jsonData.tlsMode !== PostgresTLSModes.disable ? (
<>
<Field
label={Components.ConfigEditor.TlsMethod.label}
Expand Down

0 comments on commit 1102b50

Please sign in to comment.