Skip to content

Commit 1b4b1e6

Browse files
Jillian InapurapuJillian Inapurapu
authored andcommitted
Removed remaining storage class references
1 parent f8b212e commit 1b4b1e6

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

portal-ui/src/screens/Console/Configurations/TiersConfiguration/AddTierConfiguration.tsx

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ const AddTierConfiguration = ({ classes }: IAddNotificationEndpointProps) => {
149149
...fields,
150150
accesskey: accessKey,
151151
secretkey: secretKey,
152-
storageclass: storageClass,
153152
},
154153
};
155154
break;
@@ -503,18 +502,18 @@ const AddTierConfiguration = ({ classes }: IAddNotificationEndpointProps) => {
503502
name="region"
504503
type={type as "azure" | "s3" | "minio" | "gcs"}
505504
/>
506-
{type === s3ServiceName && (
507-
<InputBoxWrapper
508-
id="storageClass"
509-
name="storageClass"
510-
label="Storage Class"
511-
placeholder="Enter Storage Class"
512-
value={storageClass}
513-
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
514-
setStorageClass(e.target.value);
515-
}}
516-
/>
517-
)}
505+
{type === s3ServiceName && (
506+
<InputBoxWrapper
507+
id="storageClass"
508+
name="storageClass"
509+
label="Storage Class"
510+
placeholder="Enter Storage Class"
511+
value={storageClass}
512+
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
513+
setStorageClass(e.target.value);
514+
}}
515+
/>
516+
)}
518517
</Fragment>
519518
)}
520519
</Grid>

portal-ui/src/screens/Console/Configurations/TiersConfiguration/UpdateTierCredentialsModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ const UpdateTierCredentialsModal = ({
144144
>
145145
<Grid container>
146146
<Grid item xs={12}>
147-
{type === "s3" || type === "minio" && (
147+
{(type === "s3" || type === "minio") && (
148148
<Fragment>
149149
<div className={classes.formFieldRow}>
150150
<InputBoxWrapper

0 commit comments

Comments
 (0)