File tree 1 file changed +1
-10
lines changed
1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -77,15 +77,6 @@ export const UrlExportSettings = () => {
77
77
}
78
78
}
79
79
80
- function onAuthUpdate ( value ) {
81
- updateSettings ( draft => { draft . authType = value } )
82
- if ( this . value === config . key . authType . gitlabToken ) {
83
- this . form . Ref . style . visibility = 'visible'
84
- } else {
85
- this . form . other . style . visibility = 'hidden'
86
- }
87
- }
88
-
89
80
return (
90
81
< form onSubmit = { handleFormSubmit } className = { style } >
91
82
< Title size = 'xlarge' weight = 'bold' > URL Export settings</ Title >
@@ -94,7 +85,7 @@ export const UrlExportSettings = () => {
94
85
label = 'Compress JSON output'
95
86
type = 'switch'
96
87
checked = { settings . urlJsonCompression }
97
- onChange = { ( value ) => onAuthUpdate ( value ) }
88
+ onChange = { ( value ) => updateSettings ( draft => { draft . urlJsonCompression = value } ) }
98
89
/>
99
90
< Info width = { 240 } label = 'Compression removes line breaks and whitespace from the json string' />
100
91
</ Row >
You can’t perform that action at this time.
0 commit comments