Skip to content

Commit

Permalink
Make prefix field optional for adding tier (minio#3301)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinapurapu authored Apr 19, 2024
1 parent 226a90b commit de19b6f
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,6 @@ const AddTierConfiguration = () => {
if (bucket === "") {
valid = false;
}
if (prefix === "") {
valid = false;
}
if (region === "" && type !== "minio") {
valid = false;
}
Expand Down Expand Up @@ -445,7 +442,6 @@ const AddTierConfiguration = () => {
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
setPrefix(e.target.value);
}}
required
/>
<RegionSelectWrapper
onChange={(value) => {
Expand Down

0 comments on commit de19b6f

Please sign in to comment.