Skip to content

Commit de19b6f

Browse files
authored
Make prefix field optional for adding tier (#3301)
1 parent 226a90b commit de19b6f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

web-app/src/screens/Console/Configurations/TiersConfiguration/AddTierConfiguration.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,6 @@ const AddTierConfiguration = () => {
202202
if (bucket === "") {
203203
valid = false;
204204
}
205-
if (prefix === "") {
206-
valid = false;
207-
}
208205
if (region === "" && type !== "minio") {
209206
valid = false;
210207
}
@@ -445,7 +442,6 @@ const AddTierConfiguration = () => {
445442
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
446443
setPrefix(e.target.value);
447444
}}
448-
required
449445
/>
450446
<RegionSelectWrapper
451447
onChange={(value) => {

0 commit comments

Comments
 (0)