File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
portal-ui/src/screens/Console/Configurations/TiersConfiguration Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -503,8 +503,7 @@ const AddTierConfiguration = ({ classes }: IAddNotificationEndpointProps) => {
503503 name = "region"
504504 type = { type as "azure" | "s3" | "minio" | "gcs" }
505505 />
506- { type === s3ServiceName ||
507- ( type === minioServiceName && (
506+ { type === s3ServiceName && (
508507 < InputBoxWrapper
509508 id = "storageClass"
510509 name = "storageClass"
@@ -515,7 +514,7 @@ const AddTierConfiguration = ({ classes }: IAddNotificationEndpointProps) => {
515514 setStorageClass ( e . target . value ) ;
516515 } }
517516 />
518- ) ) }
517+ ) }
519518 </ Fragment >
520519 ) }
521520 </ Grid >
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ const UpdateTierCredentialsModal = ({
8080 useEffect ( ( ) => {
8181 let valid = true ;
8282
83- if ( type === "s3" || type === "azure" ) {
83+ if ( type === "s3" || type === "azure" || type === "minio" ) {
8484 if ( accountName === "" || accountKey === "" ) {
8585 valid = false ;
8686 }
@@ -95,7 +95,7 @@ const UpdateTierCredentialsModal = ({
9595 const addRecord = ( ) => {
9696 let rules = { } ;
9797
98- if ( type === "s3" || type === "azure" ) {
98+ if ( type === "s3" || type === "azure" || type === "minio" ) {
9999 rules = {
100100 access_key : accountName ,
101101 secret_key : accountKey ,
@@ -144,7 +144,7 @@ const UpdateTierCredentialsModal = ({
144144 >
145145 < Grid container >
146146 < Grid item xs = { 12 } >
147- { type === "s3" && (
147+ { type === "s3" || type === "minio" && (
148148 < Fragment >
149149 < div className = { classes . formFieldRow } >
150150 < InputBoxWrapper
You can’t perform that action at this time.
0 commit comments