File tree Expand file tree Collapse file tree 1 file changed +24
-25
lines changed
portal-ui/src/screens/Console/Configurations/TiersConfiguration Expand file tree Collapse file tree 1 file changed +24
-25
lines changed Original file line number Diff line number Diff line change @@ -294,31 +294,30 @@ const AddTierConfiguration = ({
294294 setEndpoint ( e . target . value ) ;
295295 } }
296296 />
297- { type === "s3" ||
298- ( type === "minio" && (
299- < Fragment >
300- < InputBoxWrapper
301- id = "accessKey"
302- name = "accessKey"
303- label = "Access Key"
304- placeholder = "Enter Access Key"
305- value = { accessKey }
306- onChange = { ( e : React . ChangeEvent < HTMLInputElement > ) => {
307- setAccessKey ( e . target . value ) ;
308- } }
309- />
310- < InputBoxWrapper
311- id = "secretKey"
312- name = "secretKey"
313- label = "Secret Key"
314- placeholder = "Enter Secret Key"
315- value = { secretKey }
316- onChange = { ( e : React . ChangeEvent < HTMLInputElement > ) => {
317- setSecretKey ( e . target . value ) ;
318- } }
319- />
320- </ Fragment >
321- ) ) }
297+ { ( type === "s3" || type === "minio" ) && (
298+ < Fragment >
299+ < InputBoxWrapper
300+ id = "accessKey"
301+ name = "accessKey"
302+ label = "Access Key"
303+ placeholder = "Enter Access Key"
304+ value = { accessKey }
305+ onChange = { ( e : React . ChangeEvent < HTMLInputElement > ) => {
306+ setAccessKey ( e . target . value ) ;
307+ } }
308+ />
309+ < InputBoxWrapper
310+ id = "secretKey"
311+ name = "secretKey"
312+ label = "Secret Key"
313+ placeholder = "Enter Secret Key"
314+ value = { secretKey }
315+ onChange = { ( e : React . ChangeEvent < HTMLInputElement > ) => {
316+ setSecretKey ( e . target . value ) ;
317+ } }
318+ />
319+ </ Fragment >
320+ ) }
322321 { type === "gcs" && (
323322 < Fragment >
324323 < FileSelector
You can’t perform that action at this time.
0 commit comments