Skip to content

Commit

Permalink
Merge pull request #732 from AI4Bharat/increase_bulk_project_creation…
Browse files Browse the repository at this point in the history
…_limit

Increase bulk project creation limit
  • Loading branch information
aparna-aa authored Jun 18, 2024
2 parents 26e654d + 3015be8 commit 50c3ae3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/containers/Organization/Project/CreateBulkProjects.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const CreateBulkProjects = () => {

const handleNumProjectsChange = (e) => {
const newNumProjects = parseInt(e.target.value, 10) || 1;
const clampedNumProjects = Math.min(Math.max(newNumProjects, 1), 20);
const clampedNumProjects = Math.min(Math.max(newNumProjects, 1), 50);

setNumberOfProjects(clampedNumProjects);

Expand Down Expand Up @@ -191,7 +191,7 @@ const CreateBulkProjects = () => {
sx={{
visibility: `${
index + 1 === numberOfProjects &&
numberOfProjects < 20
numberOfProjects < 50
? "visible"
: "hidden"
}`,
Expand Down

0 comments on commit 50c3ae3

Please sign in to comment.