File tree Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change @@ -277,22 +277,24 @@ export const ConfigEditor: React.FC<Props> = (props) => {
277
277
</ Field >
278
278
</ ConfigSection >
279
279
280
- < Divider />
280
+ { config . featureToggles [ 'secureSocksDSProxyEnabled' ] && gte ( config . buildInfo . version , '10.0.0' ) && (
281
+ < >
282
+ < Divider />
281
283
282
- < ConfigSection title = "Proxy" >
283
- { config . featureToggles [ 'secureSocksDSProxyEnabled' ] && gte ( config . buildInfo . version , '10.0.0' ) && (
284
- < Field
285
- label = { Components . ConfigEditor . SecureSocksProxy . label }
286
- description = { Components . ConfigEditor . SecureSocksProxy . tooltip }
287
- >
288
- < Switch
289
- className = "gf-form"
290
- value = { jsonData . enableSecureSocksProxy || false }
291
- onChange = { ( e ) => onSwitchToggle ( 'enableSecureSocksProxy' , e . currentTarget . checked ) }
292
- / >
293
- </ Field >
294
- ) }
295
- </ ConfigSection >
284
+ < ConfigSection title = "Proxy" >
285
+ < Field
286
+ label = { Components . ConfigEditor . SecureSocksProxy . label }
287
+ description = { Components . ConfigEditor . SecureSocksProxy . tooltip }
288
+ >
289
+ < Switch
290
+ className = "gf-form"
291
+ value = { jsonData . enableSecureSocksProxy || false }
292
+ onChange = { ( e ) => onSwitchToggle ( 'enableSecureSocksProxy' , e . currentTarget . checked ) }
293
+ />
294
+ </ Field >
295
+ </ ConfigSection >
296
+ </ >
297
+ ) }
296
298
297
299
< Divider />
298
300
< ConfigSection title = "TLS / SSL Settings" >
You can’t perform that action at this time.
0 commit comments