mirror of
https://github.com/grafana/grafana.git
synced 2025-09-20 21:26:46 +08:00
PostgreSQL: Display correct initial value for tls mode (#84356)
This commit is contained in:
@ -175,7 +175,7 @@ export const PostgresConfigEditor = (props: DataSourcePluginOptionsEditorProps<P
|
|||||||
>
|
>
|
||||||
<Select
|
<Select
|
||||||
options={tlsModes}
|
options={tlsModes}
|
||||||
value={jsonData.sslmode || PostgresTLSModes.verifyFull}
|
value={jsonData.sslmode || PostgresTLSModes.require}
|
||||||
onChange={onJSONDataOptionSelected('sslmode')}
|
onChange={onJSONDataOptionSelected('sslmode')}
|
||||||
width={WIDTH_LONG}
|
width={WIDTH_LONG}
|
||||||
/>
|
/>
|
||||||
|
Reference in New Issue
Block a user