Make prefix field optional for adding tier (#3301)

This commit is contained in:
jinapurapu
2024-04-18 22:51:13 -07:00
committed by GitHub
parent 226a90be1d
commit de19b6f17b

View File

@@ -202,9 +202,6 @@ const AddTierConfiguration = () => {
if (bucket === "") {
valid = false;
}
if (prefix === "") {
valid = false;
}
if (region === "" && type !== "minio") {
valid = false;
}
@@ -445,7 +442,6 @@ const AddTierConfiguration = () => {
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
setPrefix(e.target.value);
}}
required
/>
<RegionSelectWrapper
onChange={(value) => {