Skip to content

Commit

Permalink
for admins min 1 org user. for self-serve 30 (#14567)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeerRich committed Apr 16, 2024
1 parent 5fede84 commit 9684aa3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ const CreateANewOrganizationFormChild = ({ session }: { session: Ensure<SessionC
name="seats"
type="number"
label="Seats (optional)"
min={MINIMUM_NUMBER_OF_ORG_SEATS}
min={isAdmin ? 1 : MINIMUM_NUMBER_OF_ORG_SEATS}
defaultValue={value || MINIMUM_NUMBER_OF_ORG_SEATS}
onChange={(e) => {
onChange(+e.target.value);
Expand Down

0 comments on commit 9684aa3

Please sign in to comment.